Class AuthnRequestImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.xmlsec.signature.AbstractSignableXMLObject
-
- org.opensaml.saml.common.AbstractSignableSAMLObject
-
- org.opensaml.saml.saml2.core.impl.RequestAbstractTypeImpl
-
- org.opensaml.saml.saml2.core.impl.AuthnRequestImpl
-
- All Implemented Interfaces:
XMLObject,SAMLObject,SignableSAMLObject,AuthnRequest,RequestAbstractType,SignableXMLObject
public class AuthnRequestImpl extends RequestAbstractTypeImpl implements AuthnRequest
A concrete implementation ofAuthnRequest.
-
-
Field Summary
Fields Modifier and Type Field Description private IntegerassertionConsumerServiceIndexAssertionConsumerServiceIndex attribute.private StringassertionConsumerServiceURLAssertionConsumerServiceURL attribute.private IntegerattributeConsumingServiceIndexAttributeConsumingServiceIndex attribute.private ConditionsconditionsConditions child element.private XSBooleanValueforceAuthnForeceAuthn attribute.private XSBooleanValueisPassiveIsPassive attribute.private NameIDPolicynameIDPolicyNameIDPolicy child element.private StringprotocolBindingProtocolBinding attribute.private StringproviderNameProviderName attribute.private RequestedAuthnContextrequestedAuthnContextRequestedAuthnContext child element.private ScopingscopingScoping child element.private SubjectsubjectSubject 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 protectedAuthnRequestImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
-
Methods inherited from class org.opensaml.saml.saml2.core.impl.RequestAbstractTypeImpl
getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getSignatureReferenceID, getVersion, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion
-
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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
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.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
-
subject
private Subject subject
Subject child element.
-
nameIDPolicy
private NameIDPolicy nameIDPolicy
NameIDPolicy child element.
-
conditions
private Conditions conditions
Conditions child element.
-
requestedAuthnContext
private RequestedAuthnContext requestedAuthnContext
RequestedAuthnContext child element.
-
scoping
private Scoping scoping
Scoping child element.
-
forceAuthn
private XSBooleanValue forceAuthn
ForeceAuthn attribute.
-
isPassive
private 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 inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Detail
-
isForceAuthn
public Boolean isForceAuthn()
- Specified by:
isForceAuthnin interfaceAuthnRequest
-
isForceAuthnXSBoolean
public XSBooleanValue isForceAuthnXSBoolean()
- Specified by:
isForceAuthnXSBooleanin interfaceAuthnRequest
-
setForceAuthn
public void setForceAuthn(Boolean newForceAuth)
- Specified by:
setForceAuthnin interfaceAuthnRequest
-
setForceAuthn
public void setForceAuthn(XSBooleanValue newForceAuthn)
- Specified by:
setForceAuthnin interfaceAuthnRequest
-
isPassive
public Boolean isPassive()
- Specified by:
isPassivein interfaceAuthnRequest
-
isPassiveXSBoolean
public XSBooleanValue isPassiveXSBoolean()
- Specified by:
isPassiveXSBooleanin interfaceAuthnRequest
-
setIsPassive
public void setIsPassive(Boolean newIsPassive)
- Specified by:
setIsPassivein interfaceAuthnRequest
-
setIsPassive
public void setIsPassive(XSBooleanValue newIsPassive)
- Specified by:
setIsPassivein interfaceAuthnRequest
-
getProtocolBinding
public String getProtocolBinding()
- Specified by:
getProtocolBindingin interfaceAuthnRequest
-
setProtocolBinding
public void setProtocolBinding(String newProtocolBinding)
- Specified by:
setProtocolBindingin interfaceAuthnRequest
-
getAssertionConsumerServiceIndex
public Integer getAssertionConsumerServiceIndex()
- Specified by:
getAssertionConsumerServiceIndexin interfaceAuthnRequest
-
setAssertionConsumerServiceIndex
public void setAssertionConsumerServiceIndex(Integer newAssertionConsumerServiceIndex)
- Specified by:
setAssertionConsumerServiceIndexin interfaceAuthnRequest
-
getAssertionConsumerServiceURL
public String getAssertionConsumerServiceURL()
- Specified by:
getAssertionConsumerServiceURLin interfaceAuthnRequest
-
setAssertionConsumerServiceURL
public void setAssertionConsumerServiceURL(String newAssertionConsumerServiceURL)
- Specified by:
setAssertionConsumerServiceURLin interfaceAuthnRequest
-
getAttributeConsumingServiceIndex
public Integer getAttributeConsumingServiceIndex()
- Specified by:
getAttributeConsumingServiceIndexin interfaceAuthnRequest
-
setAttributeConsumingServiceIndex
public void setAttributeConsumingServiceIndex(Integer newAttributeConsumingServiceIndex)
- Specified by:
setAttributeConsumingServiceIndexin interfaceAuthnRequest
-
getProviderName
public String getProviderName()
- Specified by:
getProviderNamein interfaceAuthnRequest
-
setProviderName
public void setProviderName(String newProviderName)
- Specified by:
setProviderNamein interfaceAuthnRequest
-
getSubject
public Subject getSubject()
- Specified by:
getSubjectin interfaceAuthnRequest
-
setSubject
public void setSubject(Subject newSubject)
- Specified by:
setSubjectin interfaceAuthnRequest
-
getNameIDPolicy
public NameIDPolicy getNameIDPolicy()
- Specified by:
getNameIDPolicyin interfaceAuthnRequest
-
setNameIDPolicy
public void setNameIDPolicy(NameIDPolicy newNameIDPolicy)
- Specified by:
setNameIDPolicyin interfaceAuthnRequest
-
getConditions
public Conditions getConditions()
- Specified by:
getConditionsin interfaceAuthnRequest
-
setConditions
public void setConditions(Conditions newConditions)
- Specified by:
setConditionsin interfaceAuthnRequest
-
getRequestedAuthnContext
public RequestedAuthnContext getRequestedAuthnContext()
- Specified by:
getRequestedAuthnContextin interfaceAuthnRequest
-
setRequestedAuthnContext
public void setRequestedAuthnContext(RequestedAuthnContext newRequestedAuthnContext)
- Specified by:
setRequestedAuthnContextin interfaceAuthnRequest
-
getScoping
public Scoping getScoping()
- Specified by:
getScopingin interfaceAuthnRequest
-
setScoping
public void setScoping(Scoping newScoping)
- Specified by:
setScopingin interfaceAuthnRequest
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject- Overrides:
getOrderedChildrenin classRequestAbstractTypeImpl
-
-