Class AuthnContextImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.saml2.core.impl.AuthnContextImpl
All Implemented Interfaces:
XMLObject, SAMLObject, AuthnContext

public class AuthnContextImpl
extends AbstractXMLObject
implements AuthnContext
A concrete implemenation of AuthnContext.
  • Field Details

  • Constructor Details

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

    • getAuthnContextClassRef

      public AuthnContextClassRef getAuthnContextClassRef()
      Gets the URI identifying the Context Class of this Authentication Context.
      Specified by:
      getAuthnContextClassRef in interface AuthnContext
      Returns:
      AuthnContext AuthnContextClassRef
    • setAuthnContextClassRef

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

      public AuthnContextDecl getAuthContextDecl()
      Gets Declaration of this Authentication Context.
      Specified by:
      getAuthContextDecl in interface AuthnContext
      Returns:
      AuthnContext AuthnContextDecl
    • setAuthnContextDecl

      public void setAuthnContextDecl​(AuthnContextDecl newAuthnContextDecl)
      Sets the Declaration of this Authentication Context.
      Specified by:
      setAuthnContextDecl in interface AuthnContext
      Parameters:
      newAuthnContextDecl - the Declaration of this Authentication Context
    • getAuthnContextDeclRef

      public AuthnContextDeclRef getAuthnContextDeclRef()
      Gets the URI of the Declaration of this Authentication Context.
      Specified by:
      getAuthnContextDeclRef in interface AuthnContext
      Returns:
      AuthnContext AuthnContextDeclRef
    • setAuthnContextDeclRef

      public void setAuthnContextDeclRef​(AuthnContextDeclRef newAuthnContextDeclRef)
      Sets the URI of the Declaration of this Authentication Context.
      Specified by:
      setAuthnContextDeclRef in interface AuthnContext
      Parameters:
      newAuthnContextDeclRef - the URI of the Declaration of this Authentication Context
    • getAuthenticatingAuthorities

      public List<AuthenticatingAuthority> getAuthenticatingAuthorities()
      Gets the Authenticating Authorities of this Authentication Context.
      Specified by:
      getAuthenticatingAuthorities in interface AuthnContext
      Returns:
      AuthnContext AuthenticatingAuthorities
    • getOrderedChildren

      public List<XMLObject> getOrderedChildren()
      Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
      Specified by:
      getOrderedChildren in interface XMLObject
      Returns:
      ordered list of child elements