Class AuthnRequestImpl

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

    public class AuthnRequestImpl
    extends RequestAbstractTypeImpl
    implements org.opensaml.saml.saml2.core.AuthnRequest
    A concrete implementation of AuthnRequest.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Integer assertionConsumerServiceIndex
      AssertionConsumerServiceIndex attribute.
      private String assertionConsumerServiceURL
      AssertionConsumerServiceURL attribute.
      private Integer attributeConsumingServiceIndex
      AttributeConsumingServiceIndex attribute.
      private org.opensaml.saml.saml2.core.Conditions conditions
      Conditions child element.
      private org.opensaml.core.xml.schema.XSBooleanValue forceAuthn
      ForeceAuthn attribute.
      private org.opensaml.core.xml.schema.XSBooleanValue isPassive
      IsPassive attribute.
      private org.opensaml.saml.saml2.core.NameIDPolicy nameIDPolicy
      NameIDPolicy child element.
      private String protocolBinding
      ProtocolBinding attribute.
      private String providerName
      ProviderName attribute.
      private org.opensaml.saml.saml2.core.RequestedAuthnContext requestedAuthnContext
      RequestedAuthnContext child element.
      private org.opensaml.saml.saml2.core.Scoping scoping
      Scoping child element.
      private org.opensaml.saml.saml2.core.Subject subject
      Subject child element.
      • Fields inherited from interface org.opensaml.saml.saml2.core.AuthnRequest

        ASSERTION_CONSUMER_SERVICE_INDEX_ATTRIB_NAME, ASSERTION_CONSUMER_SERVICE_URL_ATTRIB_NAME, ATTRIBUTE_CONSUMING_SERVICE_INDEX_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, FORCE_AUTHN_ATTRIB_NAME, IS_PASSIVE_ATTRIB_NAME, PROTOCOL_BINDING_ATTRIB_NAME, PROVIDER_NAME_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
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AuthnRequestImpl​(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
    • Field Detail

      • subject

        private org.opensaml.saml.saml2.core.Subject subject
        Subject child element.
      • nameIDPolicy

        private org.opensaml.saml.saml2.core.NameIDPolicy nameIDPolicy
        NameIDPolicy child element.
      • conditions

        private org.opensaml.saml.saml2.core.Conditions conditions
        Conditions child element.
      • requestedAuthnContext

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

        private org.opensaml.saml.saml2.core.Scoping scoping
        Scoping child element.
      • forceAuthn

        private org.opensaml.core.xml.schema.XSBooleanValue forceAuthn
        ForeceAuthn attribute.
      • isPassive

        private org.opensaml.core.xml.schema.XSBooleanValue isPassive
        IsPassive attribute.
      • protocolBinding

        private String protocolBinding
        ProtocolBinding attribute.
      • assertionConsumerServiceIndex

        private Integer assertionConsumerServiceIndex
        AssertionConsumerServiceIndex attribute.
      • assertionConsumerServiceURL

        private String assertionConsumerServiceURL
        AssertionConsumerServiceURL attribute.
      • attributeConsumingServiceIndex

        private Integer attributeConsumingServiceIndex
        AttributeConsumingServiceIndex attribute.
      • providerName

        private String providerName
        ProviderName attribute.
    • Constructor Detail

      • AuthnRequestImpl

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

      • isForceAuthn

        public Boolean isForceAuthn()
        Specified by:
        isForceAuthn in interface org.opensaml.saml.saml2.core.AuthnRequest
      • isForceAuthnXSBoolean

        public org.opensaml.core.xml.schema.XSBooleanValue isForceAuthnXSBoolean()
        Specified by:
        isForceAuthnXSBoolean in interface org.opensaml.saml.saml2.core.AuthnRequest
      • setForceAuthn

        public void setForceAuthn​(Boolean newForceAuth)
        Specified by:
        setForceAuthn in interface org.opensaml.saml.saml2.core.AuthnRequest
      • setForceAuthn

        public void setForceAuthn​(org.opensaml.core.xml.schema.XSBooleanValue newForceAuthn)
        Specified by:
        setForceAuthn in interface org.opensaml.saml.saml2.core.AuthnRequest
      • isPassive

        public Boolean isPassive()
        Specified by:
        isPassive in interface org.opensaml.saml.saml2.core.AuthnRequest
      • isPassiveXSBoolean

        public org.opensaml.core.xml.schema.XSBooleanValue isPassiveXSBoolean()
        Specified by:
        isPassiveXSBoolean in interface org.opensaml.saml.saml2.core.AuthnRequest
      • setIsPassive

        public void setIsPassive​(Boolean newIsPassive)
        Specified by:
        setIsPassive in interface org.opensaml.saml.saml2.core.AuthnRequest
      • setIsPassive

        public void setIsPassive​(org.opensaml.core.xml.schema.XSBooleanValue newIsPassive)
        Specified by:
        setIsPassive in interface org.opensaml.saml.saml2.core.AuthnRequest
      • getProtocolBinding

        public String getProtocolBinding()
        Specified by:
        getProtocolBinding in interface org.opensaml.saml.saml2.core.AuthnRequest
      • setProtocolBinding

        public void setProtocolBinding​(String newProtocolBinding)
        Specified by:
        setProtocolBinding in interface org.opensaml.saml.saml2.core.AuthnRequest
      • getAssertionConsumerServiceIndex

        public Integer getAssertionConsumerServiceIndex()
        Specified by:
        getAssertionConsumerServiceIndex in interface org.opensaml.saml.saml2.core.AuthnRequest
      • setAssertionConsumerServiceIndex

        public void setAssertionConsumerServiceIndex​(Integer newAssertionConsumerServiceIndex)
        Specified by:
        setAssertionConsumerServiceIndex in interface org.opensaml.saml.saml2.core.AuthnRequest
      • getAssertionConsumerServiceURL

        public String getAssertionConsumerServiceURL()
        Specified by:
        getAssertionConsumerServiceURL in interface org.opensaml.saml.saml2.core.AuthnRequest
      • setAssertionConsumerServiceURL

        public void setAssertionConsumerServiceURL​(String newAssertionConsumerServiceURL)
        Specified by:
        setAssertionConsumerServiceURL in interface org.opensaml.saml.saml2.core.AuthnRequest
      • getAttributeConsumingServiceIndex

        public Integer getAttributeConsumingServiceIndex()
        Specified by:
        getAttributeConsumingServiceIndex in interface org.opensaml.saml.saml2.core.AuthnRequest
      • setAttributeConsumingServiceIndex

        public void setAttributeConsumingServiceIndex​(Integer newAttributeConsumingServiceIndex)
        Specified by:
        setAttributeConsumingServiceIndex in interface org.opensaml.saml.saml2.core.AuthnRequest
      • getProviderName

        public String getProviderName()
        Specified by:
        getProviderName in interface org.opensaml.saml.saml2.core.AuthnRequest
      • setProviderName

        public void setProviderName​(String newProviderName)
        Specified by:
        setProviderName in interface org.opensaml.saml.saml2.core.AuthnRequest
      • getSubject

        public org.opensaml.saml.saml2.core.Subject getSubject()
        Specified by:
        getSubject in interface org.opensaml.saml.saml2.core.AuthnRequest
      • setSubject

        public void setSubject​(org.opensaml.saml.saml2.core.Subject newSubject)
        Specified by:
        setSubject in interface org.opensaml.saml.saml2.core.AuthnRequest
      • getNameIDPolicy

        public org.opensaml.saml.saml2.core.NameIDPolicy getNameIDPolicy()
        Specified by:
        getNameIDPolicy in interface org.opensaml.saml.saml2.core.AuthnRequest
      • setNameIDPolicy

        public void setNameIDPolicy​(org.opensaml.saml.saml2.core.NameIDPolicy newNameIDPolicy)
        Specified by:
        setNameIDPolicy in interface org.opensaml.saml.saml2.core.AuthnRequest
      • getConditions

        public org.opensaml.saml.saml2.core.Conditions getConditions()
        Specified by:
        getConditions in interface org.opensaml.saml.saml2.core.AuthnRequest
      • setConditions

        public void setConditions​(org.opensaml.saml.saml2.core.Conditions newConditions)
        Specified by:
        setConditions in interface org.opensaml.saml.saml2.core.AuthnRequest
      • getRequestedAuthnContext

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

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

        public org.opensaml.saml.saml2.core.Scoping getScoping()
        Specified by:
        getScoping in interface org.opensaml.saml.saml2.core.AuthnRequest
      • setScoping

        public void setScoping​(org.opensaml.saml.saml2.core.Scoping newScoping)
        Specified by:
        setScoping in interface org.opensaml.saml.saml2.core.AuthnRequest
      • getOrderedChildren

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