Class AuthnContext

  • All Implemented Interfaces:
    AuthnContext

    public class AuthnContext
    extends AuthnContextType
    implements AuthnContext
    The AuthnContext element may be used to indicate to a replying party receiving an AuthenticationStatement that a SAML authority may be available to provide additional information about the subject of the statement. A single SAML authority may advertise its presence over multiple protocol binding, at multiple locations, and as more than one kind of authority by sending multiple elements as needed.
    • Field Detail

      • log

        protected static final Logger log
    • Constructor Detail

      • AuthnContext

        public AuthnContext()
        Constructor
      • AuthnContext

        public AuthnContext​(String authContextClassref,
                            String authenticatingAuthority)
    • Method Detail

      • fromElement

        public static AuthnContextType fromElement​(Element element)
                                            throws SAMLException
        Constructs an AuthnContext element from an existing XML block.
        Parameters:
        element - representing a DOM tree element.
        Throws:
        SAMLException - if there is an error in the sender or in the element definition.