Bugzilla – Bug 6176
a trusted security item is immutable
Last modified: 2008-06-24 09:38:06
You need to log in before you can comment on or make changes to this bug.
Once a security item (i.e., an implementation of IssuedSecurityItem) becomes trusted, its fields should become immutable. This safety feature will prevent coding errors and software vulnerabilities.
Modified the setter methods in these classes: org.globus.gridshib.security.BaseSecurityItem org.globus.gridshib.security.BasicAttribute org.globus.gridshib.security.SAMLAuthnContext org.globus.gridshib.security.SAMLIdentity As a result, trusted instances of these security items are immutable.
Added a new method in SAMLAuthnContext: public String getFormattedAuthnInstant(); This is for convenience mainly, since formatted dateTime strings are required in multiple places.
The source files implied in Comment #1 have been committed to CVS HEAD. This patch will appear in GS-ST v0.4.3.