Class AuthnQueryImpl

All Implemented Interfaces:
XMLObject, SAMLObject, SignableSAMLObject, AuthnQuery, RequestAbstractType, SubjectQuery, SignableXMLObject

public class AuthnQueryImpl
extends SubjectQueryImpl
implements AuthnQuery
Concrete implementation of AuthnQuery.
  • Field Details

    • sessionIndex

      private String sessionIndex
      SessionIndex attribute.
    • requestedAuthnContext

      private RequestedAuthnContext requestedAuthnContext
      RequestedAuthnContext child element.
  • Constructor Details

    • AuthnQueryImpl

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

    • getSessionIndex

      public String getSessionIndex()
      Gets the SessionIndex of this request.
      Specified by:
      getSessionIndex in interface AuthnQuery
      Returns:
      the SessionIndex of this request
    • setSessionIndex

      public void setSessionIndex​(String newSessionIndex)
      Sets the SessionIndex of this request.
      Specified by:
      setSessionIndex in interface AuthnQuery
      Parameters:
      newSessionIndex - the SessionIndex of this request
    • getRequestedAuthnContext

      public RequestedAuthnContext getRequestedAuthnContext()
      Gets the RequestedAuthnContext of this request.
      Specified by:
      getRequestedAuthnContext in interface AuthnQuery
      Returns:
      the RequestedAuthnContext of this request
    • setRequestedAuthnContext

      public void setRequestedAuthnContext​(RequestedAuthnContext newRequestedAuthnContext)
      Sets the RequestedAuthnContext of this request.
      Specified by:
      setRequestedAuthnContext in interface AuthnQuery
      Parameters:
      newRequestedAuthnContext - the RequestedAuthnContext of this request
    • 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
      Overrides:
      getOrderedChildren in class SubjectQueryImpl
      Returns:
      ordered list of child elements