Bug 6166 - support for certPath/keyPath config params
: support for certPath/keyPath config params
Status: RESOLVED FIXED
: GridShib
SAML/Binding Tools
: 0.4.2
: All All
: P3 enhancement
: beta
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-06-16 13:37 by
Modified: 2008-06-28 20:44 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-06-16 13:37:44
Add support for certPath/keyPath configuration parameters.  That is, in
addition to these config params:

certLocation=file:///tmp/x509up_u201
keyLocation=file:///tmp/x509up_u201

add these config params:

certPath=/tmp/x509up_u201
keyPath=/tmp/x509up_u201

The latter will be particularly useful on the command line (used in conjunction
with the --properties command-line option).
------- Comment #1 From 2008-06-28 20:38:57 -------
Added config parameters certPath and keyPath.  Patched SAMLToolsConfigLoader so
that it attempts to load certLocation and keyLocation first, and if that fails,
it then attempts to load certPath and keyPath.  Hardened the code so that:

1. Either both or neither locations is accepted
2. Either both or neither paths is accepted
3. Both locations and paths are not allowed

Anything else throws an exception.
------- Comment #2 From 2008-06-28 20:43:33 -------
Added test for certs and keys to SAMLToolsConfigLoaderTest.
------- Comment #3 From 2008-06-28 20:44:33 -------
Committed code to CVS HEAD.  This new feature will be distributed with GS-ST
v0.4.3.