|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.wss.saml.internal.saml20.jaxb20.ConditionsType
com.sun.xml.wss.saml.assertion.saml20.jaxb20.Conditions
public class Conditions
The validity of an Assertion MAY be subject to a set of
Conditions. Each Condition evaluates to a value that
is Valid, Invalid or Indeterminate.
| Field Summary | |
|---|---|
protected static Logger |
log
|
| Fields inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.ConditionsType |
|---|
conditionOrAudienceRestrictionOrOneTimeUse, notBefore, notOnOrAfter |
| Constructor Summary | |
|---|---|
Conditions()
Constructor taking in nothing (SAML spec allows it) |
|
Conditions(ConditionsType cType)
|
|
Conditions(GregorianCalendar notBefore,
GregorianCalendar notOnOrAfter,
List condition,
List ar,
List oneTimeUse,
List proxyRestriction)
Constructs an instance of Conditions. |
|
| Method Summary | |
|---|---|
static ConditionsType |
fromElement(Element element)
Constructs a Conditions element from an existing XML block. |
List<Object> |
getConditions()
Gets the value of the audienceRestrictionConditionOrDoNotCacheConditionOrCondition property. |
Date |
getNotBeforeDate()
Gets the value of the notBefore property. |
Date |
getNotOnOrAfterDate()
Gets the value of the notOnOrAfter property. |
| Methods inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.ConditionsType |
|---|
getConditionOrAudienceRestrictionOrOneTimeUse, getNotBefore, getNotOnOrAfter, setNotBefore, setNotOnOrAfter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Logger log
| Constructor Detail |
|---|
public Conditions()
public Conditions(GregorianCalendar notBefore,
GregorianCalendar notOnOrAfter,
List condition,
List ar,
List oneTimeUse,
List proxyRestriction)
Conditions.
notBefore - specifies the earliest time instant at which the
assertion is valid.notOnOrAfter - specifies the time instant at which the assertion
has expired.condition - ar - the AudienceRestrictionCondition to be
added. Can be null, if no audience restriction.doNotCacheCnd -
SAMLException - if there is a problem in input data and it
cannot be processed correctly.public Conditions(ConditionsType cType)
| Method Detail |
|---|
public Date getNotBeforeDate()
Conditions
getNotBeforeDate in interface ConditionsDatepublic Date getNotOnOrAfterDate()
Conditions
getNotOnOrAfterDate in interface ConditionsDatepublic List<Object> getConditions()
Conditions
getConditions in interface ConditionsDoNotCacheCondition
AudienceRestrictionCondition
Condition
public static ConditionsType fromElement(Element element)
throws SAMLException
Conditions element from an existing XML block.
conditionsElement - A org.w3c.dom.Element representing
DOM tree for Conditions object
SAMLException - if it could not process the Element properly,
implying that there is an error in the sender or in the
element definition.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||