|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Conditions
The Conditions defines the SAML constructs that place
constraints on the acceptable use if SAML Assertions.
| Method Summary | |
|---|---|
boolean |
checkDateValidity(long someTime)
Return true if a specific Date falls within the validity interval of this set of conditions. |
List |
getAudienceRestrictions()
Returns a list of AudienceRestriction |
List |
getConditions()
Returns a list of Condition |
Date |
getNotBefore()
Returns the time instant before which the subject cannot be confirmed. |
Date |
getNotOnOrAfter()
Returns the time instant at which the subject can no longer be confirmed. |
List |
getOneTimeUses()
Returns a list of OneTimeUse |
List |
getProxyRestrictions()
Returns a list of ProxyRestriction |
boolean |
isMutable()
Returns true if the object is mutable |
void |
makeImmutable()
Makes the object immutable |
void |
setAudienceRestrictions(List ars)
Sets a list of AudienceRestriction |
void |
setConditions(List conditions)
Sets a list of Condition |
void |
setNotBefore(Date value)
Sets the time instant before which the subject cannot be confirmed. |
void |
setNotOnOrAfter(Date value)
Sets the time instant at which the subject can no longer be confirmed. |
void |
setOneTimeUses(List oneTimeUses)
Sets a list of OneTimeUse |
void |
setProxyRestrictions(List prs)
Sets a list of ProxyRestriction |
String |
toXMLString()
Returns a String representation |
String |
toXMLString(boolean includeNSPrefix,
boolean declareNS)
Returns a String representation |
| Method Detail |
|---|
Date getNotOnOrAfter()
void setNotOnOrAfter(Date value)
throws SAML2Exception
value - the time instant at which the subject can no longer
be confirmed.
SAML2Exception - if the object is immutableList getConditions()
Condition
ConditionList getAudienceRestrictions()
AudienceRestriction
AudienceRestrictionList getOneTimeUses()
OneTimeUse
OneTimeUseList getProxyRestrictions()
ProxyRestriction
ProxyRestriction
void setConditions(List conditions)
throws SAML2Exception
Condition
conditions - a list of Condition
SAML2Exception - if the object is immutable
void setAudienceRestrictions(List ars)
throws SAML2Exception
AudienceRestriction
ars - a list of AudienceRestriction
SAML2Exception - if the object is immutable
void setOneTimeUses(List oneTimeUses)
throws SAML2Exception
OneTimeUse
oneTimeUses - a list of OneTimeUse
SAML2Exception - if the object is immutable
void setProxyRestrictions(List prs)
throws SAML2Exception
ProxyRestriction
prs - a list of ProxyRestriction
SAML2Exception - if the object is immutableDate getNotBefore()
void setNotBefore(Date value)
throws SAML2Exception
value - the time instant before which the subject cannot
be confirmed.
SAML2Exception - if the object is immutableboolean checkDateValidity(long someTime)
someTime - a time in milliseconds.
someTime is within the valid
interval of the Conditions.
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 conversion
String toXMLString()
throws SAML2Exception
SAML2Exception - if something is wrong during conversionvoid makeImmutable()
boolean isMutable()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||