Bug 6166

Summary: support for certPath/keyPath config params
Product: GridShib Reporter: Tom Scavo <trscavo@gmail.com>
Component: SAML/Binding ToolsAssignee: Tom Scavo <trscavo@gmail.com>
Status: RESOLVED FIXED    
Severity: enhancement CC: gridshib-dev@globus.org
Priority: P3    
Version: 0.4.2   
Target Milestone: beta   
Hardware: All   
OS: All   

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.