public class Conditions extends com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.ConditionsImpl implements Conditions
Assertion MAY be subject to a set of
Conditions. Each Condition evaluates to a value that
is Valid, Invalid or Indeterminate.com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.ConditionsImpl.Unmarshaller| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
log |
version_AudienceRestrictionConditionOrDoNotCacheConditionOrCondition, _NotBefore, _NotOnOrAfter| Constructor and Description |
|---|
Conditions()
Constructor taking in nothing (SAML spec allows it)
|
Conditions(Calendar notBefore,
Calendar notOnOrAfter,
List condition,
List arc,
List doNotCacheCnd)
Constructs an instance of
Conditions. |
Conditions(com.sun.xml.wss.saml.internal.saml11.jaxb10.ConditionsType cType) |
| Modifier and Type | Method and Description |
|---|---|
static com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.ConditionsTypeImpl |
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.
|
____jaxb_ri____getLocalName, ____jaxb_ri____getNamespaceURI, createRawValidator, createUnmarshaller, getPrimaryInterface, serializeAttributes, serializeBody, serializeURIs_getAudienceRestrictionConditionOrDoNotCacheConditionOrCondition, getAudienceRestrictionConditionOrDoNotCacheConditionOrCondition, getNotBefore, getNotOnOrAfter, setNotBefore, setNotOnOrAfterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAudienceRestrictionConditionOrDoNotCacheConditionOrCondition, getNotBefore, getNotOnOrAfter, setNotBefore, setNotOnOrAfterprotected static final Logger log
public Conditions()
public Conditions(Calendar notBefore, Calendar notOnOrAfter, List condition, List arc, List doNotCacheCnd)
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 - arc - 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(com.sun.xml.wss.saml.internal.saml11.jaxb10.ConditionsType cType)
public Date getNotBeforeDate()
ConditionsDatepublic Date getNotOnOrAfterDate()
ConditionsDatepublic List<Object> getConditions()
ConditionsDoNotCacheCondition
AudienceRestrictionCondition
Conditionpublic static com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.ConditionsTypeImpl fromElement(Element element) throws SAMLException
Conditions element from an existing XML block.element - A org.w3c.dom.Element representing
DOM tree for Conditions objectSAMLException - if it could not process the Element properly,
implying that there is an error in the sender or in the
element definition.Copyright © 2005–2017 Oracle Corporation. All rights reserved.