Interface AuthnContext

  • All Superinterfaces:
    SAMLObject, org.opensaml.core.xml.XMLObject

    public interface AuthnContext
    extends SAMLObject
    SAML 2.0 Core AuthnContext.
    • Field Detail

      • DEFAULT_ELEMENT_LOCAL_NAME

        static final String DEFAULT_ELEMENT_LOCAL_NAME
        Local Name of AuthnContext.
        See Also:
        Constant Field Values
      • DEFAULT_ELEMENT_NAME

        static final QName DEFAULT_ELEMENT_NAME
        Default element name.
      • TYPE_NAME

        static final QName TYPE_NAME
        QName of the XSI type.
      • IP_PASSWORD_AUTHN_CTX

        static final String IP_PASSWORD_AUTHN_CTX
        URI for Internet Protocol Password authentication context.
        See Also:
        Constant Field Values
      • MOFU_AUTHN_CTX

        static final String MOFU_AUTHN_CTX
        URI for Mobile One Factor Unregistered authentication context.
        See Also:
        Constant Field Values
      • MTFU_AUTHN_CTX

        static final String MTFU_AUTHN_CTX
        URI for Mobile Two Factor Unregistered authentication context.
        See Also:
        Constant Field Values
      • MOFC_AUTHN_CTX

        static final String MOFC_AUTHN_CTX
        URI for Mobile One Factor Contract authentication context.
        See Also:
        Constant Field Values
      • MTFC_AUTHN_CTX

        static final String MTFC_AUTHN_CTX
        URI for Mobile Two Factor Contract authentication context.
        See Also:
        Constant Field Values
      • PPT_AUTHN_CTX

        static final String PPT_AUTHN_CTX
        URI for Password Protected Transport authentication context.
        See Also:
        Constant Field Values
      • PREVIOUS_SESSION_AUTHN_CTX

        static final String PREVIOUS_SESSION_AUTHN_CTX
        URI for Previous Session authentication context.
        See Also:
        Constant Field Values
      • XML_DSIG_AUTHN_CTX

        static final String XML_DSIG_AUTHN_CTX
        URI for XML Digital Signature authentication context.
        See Also:
        Constant Field Values
      • SMARTCARD_AUTHN_CTX

        static final String SMARTCARD_AUTHN_CTX
        URI for Smart Card authentication context.
        See Also:
        Constant Field Values
      • SMARTCARD_PKI_AUTHN_CTX

        static final String SMARTCARD_PKI_AUTHN_CTX
        URI for Smart Card PKI authentication context.
        See Also:
        Constant Field Values
      • SOFTWARE_PKI_AUTHN_CTX

        static final String SOFTWARE_PKI_AUTHN_CTX
        URI for Software PKU authentication context.
        See Also:
        Constant Field Values
      • TELEPHONY_AUTHN_CTX

        static final String TELEPHONY_AUTHN_CTX
        URI for Telephony authentication context.
        See Also:
        Constant Field Values
      • NOMAD_TELEPHONY_AUTHN_CTX

        static final String NOMAD_TELEPHONY_AUTHN_CTX
        URI for Nomadic Telephony authentication context.
        See Also:
        Constant Field Values
      • PERSONAL_TELEPHONY_AUTHN_CTX

        static final String PERSONAL_TELEPHONY_AUTHN_CTX
        URI for Personalized Telephony authentication context.
        See Also:
        Constant Field Values
      • AUTHENTICATED_TELEPHONY_AUTHN_CTX

        static final String AUTHENTICATED_TELEPHONY_AUTHN_CTX
        URI for Authenticated Telephony authentication context.
        See Also:
        Constant Field Values
      • SRP_AUTHN_CTX

        static final String SRP_AUTHN_CTX
        URI for Secure Remote Password authentication context.
        See Also:
        Constant Field Values
      • TLS_CLIENT_AUTHN_CTX

        static final String TLS_CLIENT_AUTHN_CTX
        URI for SSL/TLS Client authentication context.
        See Also:
        Constant Field Values
      • TIME_SYNC_TOKEN_AUTHN_CTX

        static final String TIME_SYNC_TOKEN_AUTHN_CTX
        URI for Time Synchornized Token authentication context.
        See Also:
        Constant Field Values
      • UNSPECIFIED_AUTHN_CTX

        static final String UNSPECIFIED_AUTHN_CTX
        URI for unspecified authentication context.
        See Also:
        Constant Field Values
    • Method Detail

      • getAuthnContextClassRef

        AuthnContextClassRef getAuthnContextClassRef()
        Gets the URI identifying the Context Class of this Authentication Context.
        Returns:
        AuthnContext AuthnContextClassRef
      • setAuthnContextClassRef

        void setAuthnContextClassRef​(AuthnContextClassRef newAuthnContextClassRef)
        Sets the URI identifying the Context Class of this Authentication Context.
        Parameters:
        newAuthnContextClassRef - the URI of this Authentication Context's Class.
      • getAuthContextDecl

        AuthnContextDecl getAuthContextDecl()
        Gets Declaration of this Authentication Context.
        Returns:
        AuthnContext AuthnContextDecl
      • setAuthnContextDecl

        void setAuthnContextDecl​(AuthnContextDecl newAuthnContextDecl)
        Sets the Declaration of this Authentication Context.
        Parameters:
        newAuthnContextDecl - the Declaration of this Authentication Context
      • getAuthnContextDeclRef

        AuthnContextDeclRef getAuthnContextDeclRef()
        Gets the URI of the Declaration of this Authentication Context.
        Returns:
        AuthnContext AuthnContextDeclRef
      • setAuthnContextDeclRef

        void setAuthnContextDeclRef​(AuthnContextDeclRef newAuthnContextDeclRef)
        Sets the URI of the Declaration of this Authentication Context.
        Parameters:
        newAuthnContextDeclRef - the URI of the Declaration of this Authentication Context
      • getAuthenticatingAuthorities

        List<AuthenticatingAuthority> getAuthenticatingAuthorities()
        Gets the Authenticating Authorities of this Authentication Context.
        Returns:
        AuthnContext AuthenticatingAuthorities