Package org.opensaml.saml.saml1.core
Interface Conditions
- All Superinterfaces:
SAMLObject,XMLObject
- All Known Implementing Classes:
ConditionsImpl
This interface defines how the object representing a SAML1
Conditions element behaves.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringElement name, no namespace.static final QNameDefault element name.static final StringName for the NotBefore attribute.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 TypeMethodDescriptionGet the audience restriction conditions.Get the conditions.getConditions(QName typeOrName) Get the conditions with the given schema type or element name.Get the "do not cache" conditions.Get the "not before" condition.Get the "not on or after" condition.voidsetNotBefore(Instant notBefore) Set the "not before" condition.voidsetNotOnOrAfter(Instant notOnOrAfter) Set the "not on or after" condition.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 name, no namespace.- 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. -
NOTBEFORE_ATTRIB_NAME
Name for the NotBefore attribute.- See Also:
-
NOTBEFORE_ATTRIB_QNAME
QName for the NotBefore attribute. -
NOTONORAFTER_ATTRIB_NAME
Name for the NotOnOrAfter attribute.- See Also:
-
NOTONORAFTER_ATTRIB_QNAME
QName for the NotOnOrAfter attribute.
-
-
Method Details
-
getNotBefore
Get the "not before" condition.- Returns:
- the "not before" condition
-
setNotBefore
Set the "not before" condition.- Parameters:
notBefore- the "not before" condition
-
getNotOnOrAfter
Get the "not on or after" condition.- Returns:
- the "not on or after" condition
-
setNotOnOrAfter
Set the "not on or after" condition.- Parameters:
notOnOrAfter- the "not on or after" condition
-
getConditions
Get the conditions.- Returns:
- the conditions
-
getConditions
Get the conditions with the given schema type or element name.- Parameters:
typeOrName- the schema type or element name- Returns:
- the matching conditions
-
getAudienceRestrictionConditions
Get the audience restriction conditions.- Returns:
- the audience restriction conditions
-
getDoNotCacheConditions
Get the "do not cache" conditions.- Returns:
- the "do not cache" conditions
-