Bug 6176 - a trusted security item is immutable
: a trusted security item is immutable
Status: RESOLVED FIXED
: GridShib
SAML/Binding Tools
: 0.4.2
: All All
: P3 normal
: beta
Assigned To:
: http://www.globus.org/mail_archive/gr...
:
:
: 5965
  Show dependency treegraph
 
Reported: 2008-06-20 12:57 by
Modified: 2008-06-24 09:38 (History)


Attachments


Note

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


Description From 2008-06-20 12:57:39
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.
------- Comment #1 From 2008-06-20 13:57:23 -------
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.
------- Comment #2 From 2008-06-20 13:59:26 -------
Added a new method in SAMLAuthnContext:

public String getFormattedAuthnInstant();

This is for convenience mainly, since formatted dateTime strings are required
in multiple places.
------- Comment #3 From 2008-06-20 14:01:01 -------
The source files implied in Comment #1 have been committed to CVS HEAD.  This
patch will appear in GS-ST v0.4.3.