org.opensaml.saml2.core
Interface Conditions

All Superinterfaces:
SAMLObject, ValidatingXMLObject, XMLObject
All Known Implementing Classes:
ConditionsImpl

public interface Conditions
extends SAMLObject

SAML 2.0 Core Conditions.


Field Summary
static String DEFAULT_ELEMENT_LOCAL_NAME
          Element local name.
static QName DEFAULT_ELEMENT_NAME
          Default element name.
static String NOT_BEFORE_ATTRIB_NAME
          NotBefore attribute name.
static String NOT_ON_OR_AFTER_ATTRIB_NAME
          NotOnOrAfter attribute name.
static String TYPE_LOCAL_NAME
          Local name of the XSI type.
static QName TYPE_NAME
          QName of the XSI type.
 
Method Summary
 List<AudienceRestriction> getAudienceRestrictions()
          Gets the audience restriction conditions for the assertion.
 List<Condition> getConditions()
          Gets all the conditions on the assertion.
 org.joda.time.DateTime getNotBefore()
          Get the date/time before which the assertion is invalid.
 org.joda.time.DateTime getNotOnOrAfter()
          Gets the date/time on, or after, which the assertion is invalid.
 OneTimeUse getOneTimeUse()
          Gets the OneTimeUse condition for the assertion.
 ProxyRestriction getProxyRestriction()
          Gets the ProxyRestriction condition for the assertion.
 void setNotBefore(org.joda.time.DateTime newNotBefore)
          Sets the date/time before which the assertion is invalid.
 void setNotOnOrAfter(org.joda.time.DateTime newNotOnOrAfter)
          Sets the date/time on, or after, which the assertion is invalid.
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

DEFAULT_ELEMENT_LOCAL_NAME

static final String DEFAULT_ELEMENT_LOCAL_NAME
Element local name.

See Also:
Constant Field Values

DEFAULT_ELEMENT_NAME

static final QName DEFAULT_ELEMENT_NAME
Default element name.


TYPE_LOCAL_NAME

static final String TYPE_LOCAL_NAME
Local name of the XSI type.

See Also:
Constant Field Values

TYPE_NAME

static final QName TYPE_NAME
QName of the XSI type.


NOT_BEFORE_ATTRIB_NAME

static final String NOT_BEFORE_ATTRIB_NAME
NotBefore attribute name.

See Also:
Constant Field Values

NOT_ON_OR_AFTER_ATTRIB_NAME

static final String NOT_ON_OR_AFTER_ATTRIB_NAME
NotOnOrAfter attribute name.

See Also:
Constant Field Values
Method Detail

getNotBefore

org.joda.time.DateTime getNotBefore()
Get the date/time before which the assertion is invalid.

Returns:
the date/time before which the assertion is invalid

setNotBefore

void setNotBefore(org.joda.time.DateTime newNotBefore)
Sets the date/time before which the assertion is invalid.

Parameters:
newNotBefore - the date/time before which the assertion is invalid

getNotOnOrAfter

org.joda.time.DateTime getNotOnOrAfter()
Gets the date/time on, or after, which the assertion is invalid.

Returns:
the date/time on, or after, which the assertion is invalid

setNotOnOrAfter

void setNotOnOrAfter(org.joda.time.DateTime newNotOnOrAfter)
Sets the date/time on, or after, which the assertion is invalid.

Parameters:
newNotOnOrAfter - the date/time on, or after, which the assertion is invalid

getConditions

List<Condition> getConditions()
Gets all the conditions on the assertion.

Returns:
all the conditions on the assertion

getAudienceRestrictions

List<AudienceRestriction> getAudienceRestrictions()
Gets the audience restriction conditions for the assertion.

Returns:
the audience restriction conditions for the assertion

getOneTimeUse

OneTimeUse getOneTimeUse()
Gets the OneTimeUse condition for the assertion.

Returns:
the OneTimeUse condition for the assertion

getProxyRestriction

ProxyRestriction getProxyRestriction()
Gets the ProxyRestriction condition for the assertion.

Returns:
the ProxyRestriction condition for the assertion


Copyright © 1999-2012. All Rights Reserved.