|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Conditions
defines the SAML constructs that place
constraints on the acceptable use if SAML Assertion
s.
Method Summary | |
boolean |
checkDateValidity(long someTime)
Return true if a specific Date falls within the validity interval of this set of conditions. |
java.util.List |
getAudienceRestrictions()
Returns a list of AudienceRestriction |
java.util.List |
getConditions()
Returns a list of Condition |
java.util.Date |
getNotBefore()
Returns the time instant before which the subject cannot be confirmed. |
java.util.Date |
getNotOnOrAfter()
Returns the time instant at which the subject can no longer be confirmed. |
java.util.List |
getOneTimeUses()
Returns a list of OneTimeUse |
java.util.List |
getProxyRestrictions()
Returns a list of ProxyRestriction |
boolean |
isMutable()
Returns true if the object is mutable |
void |
makeImmutable()
Makes the object immutable |
void |
setAudienceRestrictions(java.util.List ars)
Sets a list of AudienceRestriction |
void |
setConditions(java.util.List conditions)
Sets a list of Condition |
void |
setNotBefore(java.util.Date value)
Sets the time instant before which the subject cannot be confirmed. |
void |
setNotOnOrAfter(java.util.Date value)
Sets the time instant at which the subject can no longer be confirmed. |
void |
setOneTimeUses(java.util.List oneTimeUses)
Sets a list of OneTimeUse |
void |
setProxyRestrictions(java.util.List prs)
Sets a list of ProxyRestriction |
java.lang.String |
toXMLString()
Returns a String representation |
java.lang.String |
toXMLString(boolean includeNSPrefix,
boolean declareNS)
Returns a String representation |
Method Detail |
public java.util.Date getNotOnOrAfter()
public void setNotOnOrAfter(java.util.Date value) throws SAML2Exception
value
- the time instant at which the subject can no longer
be confirmed.
SAML2Exception
- if the object is immutablepublic java.util.List getConditions()
Condition
Condition
public java.util.List getAudienceRestrictions()
AudienceRestriction
AudienceRestriction
public java.util.List getOneTimeUses()
OneTimeUse
OneTimeUse
public java.util.List getProxyRestrictions()
ProxyRestriction
ProxyRestriction
public void setConditions(java.util.List conditions) throws SAML2Exception
Condition
conditions
- a list of Condition
SAML2Exception
- if the object is immutablepublic void setAudienceRestrictions(java.util.List ars) throws SAML2Exception
AudienceRestriction
ars
- a list of AudienceRestriction
SAML2Exception
- if the object is immutablepublic void setOneTimeUses(java.util.List oneTimeUses) throws SAML2Exception
OneTimeUse
oneTimeUses
- a list of OneTimeUse
SAML2Exception
- if the object is immutablepublic void setProxyRestrictions(java.util.List prs) throws SAML2Exception
ProxyRestriction
prs
- a list of ProxyRestriction
SAML2Exception
- if the object is immutablepublic java.util.Date getNotBefore()
public void setNotBefore(java.util.Date value) throws SAML2Exception
value
- the time instant before which the subject cannot
be confirmed.
SAML2Exception
- if the object is immutablepublic boolean checkDateValidity(long someTime)
someTime
- a time in milliseconds.
someTime
is within the valid
interval of the Conditions
.public java.lang.String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
includeNSPrefix
- Determines whether or not the namespace qualifier is
prepended to the Element when converteddeclareNS
- Determines whether or not the namespace is declared
within the Element.
SAML2Exception
- if something is wrong during conversionpublic java.lang.String toXMLString() throws SAML2Exception
SAML2Exception
- if something is wrong during conversionpublic void makeImmutable()
public boolean isMutable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |