java.lang.Object
com.sun.xml.wss.saml.internal.saml20.jaxb20.AuthnContextType
com.sun.xml.wss.saml.assertion.saml20.jaxb20.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 Details

    • log

      protected static final Logger log
  • Constructor Details

    • AuthnContext

      public AuthnContext()
      Constructor
    • AuthnContext

      public AuthnContext(String authContextClassref, String authenticatingAuthority)
  • Method Details

    • 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.