Class AuthnQueryImpl

  • All Implemented Interfaces:
    org.opensaml.core.xml.XMLObject, org.opensaml.saml.common.SAMLObject, org.opensaml.saml.common.SignableSAMLObject, org.opensaml.saml.saml2.core.AuthnQuery, org.opensaml.saml.saml2.core.RequestAbstractType, org.opensaml.saml.saml2.core.SubjectQuery, org.opensaml.xmlsec.signature.SignableXMLObject

    public class AuthnQueryImpl
    extends SubjectQueryImpl
    implements org.opensaml.saml.saml2.core.AuthnQuery
    Concrete implementation of AuthnQuery.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.saml.saml2.core.RequestedAuthnContext requestedAuthnContext
      RequestedAuthnContext child element.
      private String sessionIndex
      SessionIndex attribute.
      • Fields inherited from interface org.opensaml.saml.saml2.core.AuthnQuery

        DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, SESSION_INDEX_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
      • Fields inherited from interface org.opensaml.saml.saml2.core.RequestAbstractType

        CONSENT_ATTRIB_NAME, DESTINATION_ATTRIB_NAME, EXPLICIT_CONSENT, ID_ATTRIB_NAME, IMPLICIT_CONSENT, INAPPLICABLE_CONSENT, ISSUE_INSTANT_ATTRIB_NAME, ISSUE_INSTANT_ATTRIB_QNAME, OBTAINED_CONSENT, PRIOR_CONSENT, TYPE_LOCAL_NAME, TYPE_NAME, UNAVAILABLE_CONSENT, UNSPECIFIED_CONSENT, VERSION_ATTRIB_NAME
      • Fields inherited from interface org.opensaml.saml.saml2.core.SubjectQuery

        DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AuthnQueryImpl​(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      org.opensaml.saml.saml2.core.RequestedAuthnContext getRequestedAuthnContext()
      String getSessionIndex()
      void setRequestedAuthnContext​(org.opensaml.saml.saml2.core.RequestedAuthnContext newRequestedAuthnContext)
      void setSessionIndex​(String newSessionIndex)
      • Methods inherited from class org.opensaml.saml.common.AbstractSignableSAMLObject

        equals, hashCode, setSignature
      • Methods inherited from class org.opensaml.xmlsec.signature.AbstractSignableXMLObject

        getSignature, isSigned
      • Methods inherited from class org.opensaml.core.xml.AbstractXMLObject

        detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
      • Methods inherited from interface org.opensaml.saml.saml2.core.RequestAbstractType

        getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getVersion, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion
      • Methods inherited from interface org.opensaml.saml.common.SignableSAMLObject

        getSignatureReferenceID
      • Methods inherited from interface org.opensaml.xmlsec.signature.SignableXMLObject

        getSignature, isSigned, setSignature
      • Methods inherited from interface org.opensaml.saml.saml2.core.SubjectQuery

        getSubject, setSubject
      • Methods inherited from interface org.opensaml.core.xml.XMLObject

        detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
    • Field Detail

      • sessionIndex

        private String sessionIndex
        SessionIndex attribute.
      • requestedAuthnContext

        private org.opensaml.saml.saml2.core.RequestedAuthnContext requestedAuthnContext
        RequestedAuthnContext child element.
    • Constructor Detail

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

      • getSessionIndex

        public String getSessionIndex()
        Specified by:
        getSessionIndex in interface org.opensaml.saml.saml2.core.AuthnQuery
      • setSessionIndex

        public void setSessionIndex​(String newSessionIndex)
        Specified by:
        setSessionIndex in interface org.opensaml.saml.saml2.core.AuthnQuery
      • getRequestedAuthnContext

        public org.opensaml.saml.saml2.core.RequestedAuthnContext getRequestedAuthnContext()
        Specified by:
        getRequestedAuthnContext in interface org.opensaml.saml.saml2.core.AuthnQuery
      • setRequestedAuthnContext

        public void setRequestedAuthnContext​(org.opensaml.saml.saml2.core.RequestedAuthnContext newRequestedAuthnContext)
        Specified by:
        setRequestedAuthnContext in interface org.opensaml.saml.saml2.core.AuthnQuery
      • getOrderedChildren

        public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
        Specified by:
        getOrderedChildren in interface org.opensaml.core.xml.XMLObject
        Overrides:
        getOrderedChildren in class SubjectQueryImpl