Class AuthnStatementImpl

  • All Implemented Interfaces:
    org.opensaml.core.xml.XMLObject, org.opensaml.saml.common.SAMLObject, org.opensaml.saml.saml2.core.AuthnStatement, org.opensaml.saml.saml2.core.Statement

    public class AuthnStatementImpl
    extends org.opensaml.core.xml.AbstractXMLObject
    implements org.opensaml.saml.saml2.core.AuthnStatement
    A concrete implementation of AuthnStatement.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.saml.saml2.core.AuthnContext authnContext
      Authentication Context of the Authentication Statement.
      private Instant authnInstant
      Time of the authentication.
      private String sessionIndex
      Index of the session.
      private Instant sessionNotOnOrAfter
      Time at which the session ends.
      private org.opensaml.saml.saml2.core.SubjectLocality subjectLocality
      Subject 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

      Constructors 
      Modifier Constructor Description
      protected AuthnStatementImpl​(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.opensaml.saml.saml2.core.AuthnContext getAuthnContext()
      Instant getAuthnInstant()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      String getSessionIndex()
      Instant getSessionNotOnOrAfter()
      org.opensaml.saml.saml2.core.SubjectLocality getSubjectLocality()
      void setAuthnContext​(org.opensaml.saml.saml2.core.AuthnContext newAuthnContext)
      void setAuthnInstant​(Instant newAuthnInstant)
      void setSessionIndex​(String newSessionIndex)
      void setSessionNotOnOrAfter​(Instant newSessionNotOnOrAfter)
      void setSubjectLocality​(org.opensaml.saml.saml2.core.SubjectLocality newSubjectLocality)
      • Methods inherited from class org.opensaml.core.xml.AbstractXMLObject

        detach, 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, setSchemaType
      • Methods inherited from interface org.opensaml.core.xml.XMLObject

        detach, 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 Detail

      • subjectLocality

        private org.opensaml.saml.saml2.core.SubjectLocality subjectLocality
        Subject Locality of the Authentication Statement.
      • authnContext

        private org.opensaml.saml.saml2.core.AuthnContext authnContext
        Authentication Context of the Authentication Statement.
      • authnInstant

        private Instant authnInstant
        Time of the authentication.
      • sessionIndex

        private String sessionIndex
        Index of the session.
      • sessionNotOnOrAfter

        private Instant sessionNotOnOrAfter
        Time at which the session ends.
    • Constructor Detail

      • AuthnStatementImpl

        protected AuthnStatementImpl​(String namespaceURI,
                                     String elementLocalName,
                                     String namespacePrefix)
        Constructor.
        Parameters:
        namespaceURI - the namespace the element is in
        elementLocalName - the local name of the XML element this Object represents
        namespacePrefix - the prefix for the given namespace
    • Method Detail

      • getSubjectLocality

        public org.opensaml.saml.saml2.core.SubjectLocality getSubjectLocality()
        Specified by:
        getSubjectLocality in interface org.opensaml.saml.saml2.core.AuthnStatement
      • setSubjectLocality

        public void setSubjectLocality​(org.opensaml.saml.saml2.core.SubjectLocality newSubjectLocality)
        Specified by:
        setSubjectLocality in interface org.opensaml.saml.saml2.core.AuthnStatement
      • getAuthnContext

        public org.opensaml.saml.saml2.core.AuthnContext getAuthnContext()
        Specified by:
        getAuthnContext in interface org.opensaml.saml.saml2.core.AuthnStatement
      • setAuthnContext

        public void setAuthnContext​(org.opensaml.saml.saml2.core.AuthnContext newAuthnContext)
        Specified by:
        setAuthnContext in interface org.opensaml.saml.saml2.core.AuthnStatement
      • getAuthnInstant

        public Instant getAuthnInstant()
        Specified by:
        getAuthnInstant in interface org.opensaml.saml.saml2.core.AuthnStatement
      • setAuthnInstant

        public void setAuthnInstant​(Instant newAuthnInstant)
        Specified by:
        setAuthnInstant in interface org.opensaml.saml.saml2.core.AuthnStatement
      • getSessionIndex

        public String getSessionIndex()
        Specified by:
        getSessionIndex in interface org.opensaml.saml.saml2.core.AuthnStatement
      • setSessionIndex

        public void setSessionIndex​(String newSessionIndex)
        Specified by:
        setSessionIndex in interface org.opensaml.saml.saml2.core.AuthnStatement
      • getSessionNotOnOrAfter

        public Instant getSessionNotOnOrAfter()
        Specified by:
        getSessionNotOnOrAfter in interface org.opensaml.saml.saml2.core.AuthnStatement
      • setSessionNotOnOrAfter

        public void setSessionNotOnOrAfter​(Instant newSessionNotOnOrAfter)
        Specified by:
        setSessionNotOnOrAfter in interface org.opensaml.saml.saml2.core.AuthnStatement
      • getOrderedChildren

        public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
        Specified by:
        getOrderedChildren in interface org.opensaml.core.xml.XMLObject