Class AuthnStatementImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.saml2.core.impl.AuthnStatementImpl
- All Implemented Interfaces:
XMLObject,SAMLObject,AuthnStatement,Statement
A concrete implementation of
AuthnStatement.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AuthnContextAuthentication Context of the Authentication Statement.private InstantTime of the authentication.private StringIndex of the session.private InstantTime at which the session ends.private SubjectLocalitySubject Locality of the Authentication Statement.Fields inherited from interface org.opensaml.saml.saml2.core.AuthnStatement
AUTHN_INSTANT_ATTRIB_NAME, AUTHN_INSTANT_ATTRIB_QNAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, SESSION_INDEX_ATTRIB_NAME, SESSION_NOT_ON_OR_AFTER_ATTRIB_NAME, SESSION_NOT_ON_OR_AFTER_ATTRIB_QNAME, TYPE_LOCAL_NAME, TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAuthnStatementImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAuthnContext(AuthnContext newAuthnContext) voidsetAuthnInstant(Instant newAuthnInstant) voidsetSessionIndex(String newSessionIndex) voidsetSessionNotOnOrAfter(Instant newSessionNotOnOrAfter) voidsetSubjectLocality(SubjectLocality newSubjectLocality) Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
subjectLocality
Subject Locality of the Authentication Statement. -
authnContext
Authentication Context of the Authentication Statement. -
authnInstant
Time of the authentication. -
sessionIndex
Index of the session. -
sessionNotOnOrAfter
Time at which the session ends.
-
-
Constructor Details
-
AuthnStatementImpl
protected AuthnStatementImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable String namespacePrefix) Constructor.- Parameters:
namespaceURI- the namespace the element is inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Details
-
getSubjectLocality
- Specified by:
getSubjectLocalityin interfaceAuthnStatement
-
setSubjectLocality
- Specified by:
setSubjectLocalityin interfaceAuthnStatement
-
getAuthnContext
- Specified by:
getAuthnContextin interfaceAuthnStatement
-
setAuthnContext
- Specified by:
setAuthnContextin interfaceAuthnStatement
-
getAuthnInstant
- Specified by:
getAuthnInstantin interfaceAuthnStatement
-
setAuthnInstant
- Specified by:
setAuthnInstantin interfaceAuthnStatement
-
getSessionIndex
- Specified by:
getSessionIndexin interfaceAuthnStatement
-
setSessionIndex
- Specified by:
setSessionIndexin interfaceAuthnStatement
-
getSessionNotOnOrAfter
- Specified by:
getSessionNotOnOrAfterin interfaceAuthnStatement
-
setSessionNotOnOrAfter
- Specified by:
setSessionNotOnOrAfterin interfaceAuthnStatement
-
getOrderedChildren
- Specified by:
getOrderedChildrenin interfaceXMLObject
-