Class AuthnContextImpl

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

    public class AuthnContextImpl
    extends org.opensaml.core.xml.AbstractXMLObject
    implements org.opensaml.saml.saml2.core.AuthnContext
    A concrete implemenation of AuthnContext.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml2.core.AuthenticatingAuthority> authenticatingAuthority
      List of the Authenticating Authorities.
      private org.opensaml.saml.saml2.core.AuthnContextClassRef authnContextClassRef
      URI of the Context Class.
      private org.opensaml.saml.saml2.core.AuthnContextDecl authnContextDecl
      Declaration of the Authentication Context.
      private org.opensaml.saml.saml2.core.AuthnContextDeclRef authnContextDeclRef
      URI of the Declaration of the Authentication Context.
      • Fields inherited from interface org.opensaml.saml.saml2.core.AuthnContext

        AUTHENTICATED_TELEPHONY_AUTHN_CTX, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, IP_AUTHN_CTX, IP_PASSWORD_AUTHN_CTX, KERBEROS_AUTHN_CTX, MOFC_AUTHN_CTX, MOFU_AUTHN_CTX, MTFC_AUTHN_CTX, MTFU_AUTHN_CTX, NOMAD_TELEPHONY_AUTHN_CTX, PASSWORD_AUTHN_CTX, PERSONAL_TELEPHONY_AUTHN_CTX, PGP_AUTHN_CTX, PPT_AUTHN_CTX, PREVIOUS_SESSION_AUTHN_CTX, SMARTCARD_AUTHN_CTX, SMARTCARD_PKI_AUTHN_CTX, SOFTWARE_PKI_AUTHN_CTX, SPKI_AUTHN_CTX, SRP_AUTHN_CTX, TELEPHONY_AUTHN_CTX, TIME_SYNC_TOKEN_AUTHN_CTX, TLS_CLIENT_AUTHN_CTX, TYPE_LOCAL_NAME, TYPE_NAME, UNSPECIFIED_AUTHN_CTX, X509_AUTHN_CTX, XML_DSIG_AUTHN_CTX
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AuthnContextImpl​(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.AuthnContextDecl getAuthContextDecl()
      List<org.opensaml.saml.saml2.core.AuthenticatingAuthority> getAuthenticatingAuthorities()
      org.opensaml.saml.saml2.core.AuthnContextClassRef getAuthnContextClassRef()
      org.opensaml.saml.saml2.core.AuthnContextDeclRef getAuthnContextDeclRef()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      void setAuthnContextClassRef​(org.opensaml.saml.saml2.core.AuthnContextClassRef newAuthnContextClassRef)
      void setAuthnContextDecl​(org.opensaml.saml.saml2.core.AuthnContextDecl newAuthnContextDecl)
      void setAuthnContextDeclRef​(org.opensaml.saml.saml2.core.AuthnContextDeclRef newAuthnContextDeclRef)
      • 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

      • authnContextClassRef

        private org.opensaml.saml.saml2.core.AuthnContextClassRef authnContextClassRef
        URI of the Context Class.
      • authnContextDecl

        private org.opensaml.saml.saml2.core.AuthnContextDecl authnContextDecl
        Declaration of the Authentication Context.
      • authnContextDeclRef

        private org.opensaml.saml.saml2.core.AuthnContextDeclRef authnContextDeclRef
        URI of the Declaration of the Authentication Context.
      • authenticatingAuthority

        private final org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml2.core.AuthenticatingAuthority> authenticatingAuthority
        List of the Authenticating Authorities.
    • Constructor Detail

      • AuthnContextImpl

        protected AuthnContextImpl​(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

      • getAuthnContextClassRef

        public org.opensaml.saml.saml2.core.AuthnContextClassRef getAuthnContextClassRef()
        Specified by:
        getAuthnContextClassRef in interface org.opensaml.saml.saml2.core.AuthnContext
      • setAuthnContextClassRef

        public void setAuthnContextClassRef​(org.opensaml.saml.saml2.core.AuthnContextClassRef newAuthnContextClassRef)
        Specified by:
        setAuthnContextClassRef in interface org.opensaml.saml.saml2.core.AuthnContext
      • getAuthContextDecl

        public org.opensaml.saml.saml2.core.AuthnContextDecl getAuthContextDecl()
        Specified by:
        getAuthContextDecl in interface org.opensaml.saml.saml2.core.AuthnContext
      • setAuthnContextDecl

        public void setAuthnContextDecl​(org.opensaml.saml.saml2.core.AuthnContextDecl newAuthnContextDecl)
        Specified by:
        setAuthnContextDecl in interface org.opensaml.saml.saml2.core.AuthnContext
      • getAuthnContextDeclRef

        public org.opensaml.saml.saml2.core.AuthnContextDeclRef getAuthnContextDeclRef()
        Specified by:
        getAuthnContextDeclRef in interface org.opensaml.saml.saml2.core.AuthnContext
      • setAuthnContextDeclRef

        public void setAuthnContextDeclRef​(org.opensaml.saml.saml2.core.AuthnContextDeclRef newAuthnContextDeclRef)
        Specified by:
        setAuthnContextDeclRef in interface org.opensaml.saml.saml2.core.AuthnContext
      • getAuthenticatingAuthorities

        public List<org.opensaml.saml.saml2.core.AuthenticatingAuthority> getAuthenticatingAuthorities()
        Specified by:
        getAuthenticatingAuthorities in interface org.opensaml.saml.saml2.core.AuthnContext
      • getOrderedChildren

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