Package org.opensaml.saml.saml2.core
Interface Conditions
- All Superinterfaces:
SAMLObject,XMLObject
- All Known Implementing Classes:
ConditionsImpl
SAML 2.0 Core Conditions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringElement local name.static final QNameDefault element name.static final StringNotBefore attribute name.static final QNameQName for the NotBefore attribute.static final StringName for the NotOnOrAfter attribute.static final QNameQName for the NotOnOrAfter attribute.static final StringLocal name of the XSI type.static final QNameQName of the XSI type. -
Method Summary
Modifier and TypeMethodDescriptionGets the audience restriction conditions for the assertion.Gets all the conditions on the assertion.getConditions(QName typeOrName) Gets the list of conditions that match a particular QName.Get the date/time before which the assertion is invalid.Gets the date/time on, or after, which the assertion is invalid.Gets the OneTimeUse condition for the assertion.Gets the ProxyRestriction condition for the assertion.voidsetNotBefore(Instant newNotBefore) Sets the date/time before which the assertion is invalid.voidsetNotOnOrAfter(Instant newNotOnOrAfter) Sets the date/time on, or after, which the assertion is invalid.Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
DEFAULT_ELEMENT_LOCAL_NAME
Element local name.- See Also:
-
DEFAULT_ELEMENT_NAME
Default element name. -
TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
-
TYPE_NAME
QName of the XSI type. -
NOT_BEFORE_ATTRIB_NAME
NotBefore attribute name.- See Also:
-
NOT_BEFORE_ATTRIB_QNAME
QName for the NotBefore attribute. -
NOT_ON_OR_AFTER_ATTRIB_NAME
Name for the NotOnOrAfter attribute.- See Also:
-
NOT_ON_OR_AFTER_ATTRIB_QNAME
QName for the NotOnOrAfter attribute.
-
-
Method Details
-
getNotBefore
Get the date/time before which the assertion is invalid.- Returns:
- the date/time before which the assertion is invalid
-
setNotBefore
Sets the date/time before which the assertion is invalid.- Parameters:
newNotBefore- the date/time before which the assertion is invalid
-
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
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
Gets all the conditions on the assertion.- Returns:
- all the conditions on the assertion
-
getConditions
Gets the list of conditions that match a particular QName.- Parameters:
typeOrName- the QName of the conditions to return- Returns:
- the list of conditions that match the specified QName
-
getAudienceRestrictions
Gets the audience restriction conditions for the assertion.- Returns:
- the audience restriction conditions for the assertion
-
getOneTimeUse
Gets the OneTimeUse condition for the assertion.- Returns:
- the OneTimeUse condition for the assertion
-
getProxyRestriction
Gets the ProxyRestriction condition for the assertion.- Returns:
- the ProxyRestriction condition for the assertion
-