| Summary: | refactor blacklist implementation in GS4GT | ||
|---|---|---|---|
| Product: | GridShib | Reporter: | Tom Scavo <trscavo@gmail.com> |
| Component: | GT plugin | Assignee: | Tom Scavo <trscavo@gmail.com> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | gridshib-dev@globus.org, jbasney@ncsa.uiuc.edu, trscavo@gmail.com, vwelch@uiuc.edu |
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | beta | ||
| Hardware: | All | ||
| OS: | All | ||
| Bug Depends on: | 5791, 6179 | ||
| Bug Blocks: | 6167, 6332 | ||
The blacklist implementation has been refactored and tested.
Allow blacklisting based on identity attributes.
(In reply to comment #1) > The blacklist implementation has been refactored and tested. Affected source files have been committed to CVS HEAD. This patch will be distributed with GS4GT v0.6.1.
(In reply to comment #2) > Allow blacklisting based on identity attributes. Do the following: 0. Create interceptors/java/source/share/identity-attributes.txt 1. Deploy identity-attributes.txt into $G_L/share 2. Dynamically create gridshib-bootstrap.properties 3. Remove call to GS4GTSecurityContext.init() from SAMLAssertionPushPIPImpl 4. Test blacklisting of e-mail addresses
(In reply to comment #4) > > 0. Create interceptors/java/source/share/identity-attributes.txt ##### BEGIN identity-attributes.txt # Identity Attributes # # By definition, the value(s) of identity attributes are # globally unique identifiers for the user. # # Since this implementation is restricted to string-valued # attributes, the value(s) of trusted identity attributes # are globally unique SAML principal names. In GridShib # for GT, the latter are used to implement a simple, flat # file-based blacklisting framework. In other words, the # value(s) of trusted identity attributes are blacklistable. # FriendlyName="eduPersonPrincipalName" urn:oid:1.3.6.1.4.1.5923.1.1.1.6 # FriendlyName="mail" urn:mace:dir:attribute-def:mail urn:oid:0.9.2342.19200300.100.1.3 ##### END identity-attributes.txt > 1. Deploy identity-attributes.txt into $G_L/share Modified interceptors/java/source/build.xml and committed to CVS HEAD.
(In reply to comment #4) > > 3. Remove call to GS4GTSecurityContext.init() from SAMLAssertionPushPIPImpl Created a separate bug entry (Bug 6269) for this configuration change.
(In reply to comment #4) > > 2. Dynamically create gridshib-bootstrap.properties Modified interceptors/java/source/build.xml and committed to CVS HEAD.
Changed the name of config parameter "blacklistNameIdentifiersFile" to "blacklistPrincipalNamesFile". This breaks backward compatibility but I feel it's necessary as we roll out GS4GT in CTSS4. This change will be more difficult to swallow moving forward. Patched the EchoService config and the docbook docs. This patch will be rolled out in GS4GT v0.6.1.