public class AuthnRequestImpl extends RequestAbstractTypeImpl implements AuthnRequest
AuthnRequest.| Modifier and Type | Field and Description |
|---|---|
private java.lang.Integer |
assertionConsumerServiceIndex
AssertionConsumerServiceIndex attribute.
|
private java.lang.String |
assertionConsumerServiceURL
AssertionConsumerServiceURL attribute.
|
private java.lang.Integer |
attributeConsumingServiceIndex
AttributeConsumingServiceIndex attribute.
|
private Conditions |
conditions
Conditions child element.
|
private XSBooleanValue |
forceAuthn
ForeceAuthn attribute.
|
private XSBooleanValue |
isPassive
IsPassive attribute.
|
private NameIDPolicy |
nameIDPolicy
NameIDPolicy child element.
|
private java.lang.String |
protocolBinding
ProtocolBinding attribute.
|
private java.lang.String |
providerName
ProviderName attribute.
|
private RequestedAuthnContext |
requestedAuthnContext
RequestedAuthnContext child element.
|
private Scoping |
scoping
Scoping child element.
|
private Subject |
subject
Subject child element.
|
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_NAMECONSENT_ATTRIB_NAME, DESTINATION_ATTRIB_NAME, EXPLICIT_CONSENT, ID_ATTRIB_NAME, IMPLICIT_CONSENT, INAPPLICABLE_CONSENT, ISSUE_INSTANT_ATTRIB_NAME, OBTAINED_CONSENT, PRIOR_CONSENT, UNAVAILABLE_CONSENT, UNSPECIFIED_CONSENT, VERSION_ATTRIB_NAME| Modifier | Constructor and Description |
|---|---|
protected |
AuthnRequestImpl(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getAssertionConsumerServiceIndex()
Gets the index of the particular Assertion Consumer Service to which the response to this request should be
delivered.
|
java.lang.String |
getAssertionConsumerServiceURL()
Gets the URL of the particular Assertion Consumer Service to which the response to this request should be
delivered.
|
java.lang.Integer |
getAttributeConsumingServiceIndex()
Gets the index of the Attribute Consuming Service which describes the SAML attributes the requester desires or
requires to be supplied in the
Response message. |
Conditions |
getConditions()
Gets the
Conditions of the request. |
NameIDPolicy |
getNameIDPolicy()
Gets the
NameIDPolicy of the request. |
java.util.List<XMLObject> |
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
java.lang.String |
getProtocolBinding()
Gets the protocol binding URI for the request.
|
java.lang.String |
getProviderName()
Gets the human-readable name of the requester for use by the presenter's user agent or the identity provider.
|
RequestedAuthnContext |
getRequestedAuthnContext()
Gets the
RequestedAuthnContext of the request. |
Scoping |
getScoping()
Gets the
Scoping of the request. |
Subject |
getSubject()
Gets the
Subject of the request. |
java.lang.Boolean |
isForceAuthn()
Gets whether the IdP should force the user to reauthenticate.
|
XSBooleanValue |
isForceAuthnXSBoolean()
Gets whether the IdP should force the user to reauthenticate.
|
java.lang.Boolean |
isPassive()
Gets whether the IdP should refrain from interacting with the user during the authentication process.
|
XSBooleanValue |
isPassiveXSBoolean()
Gets whether the IdP should refrain from interacting with the user during the authentication process.
|
void |
setAssertionConsumerServiceIndex(java.lang.Integer newAssertionConsumerServiceIndex)
Sets the index of the particular Assertion Consumer Service to which the response to this request should be
delivered.
|
void |
setAssertionConsumerServiceURL(java.lang.String newAssertionConsumerServiceURL)
Sets the URL of the particular Assertion Consumer Service to which the response to this request should be
delivered.
|
void |
setAttributeConsumingServiceIndex(java.lang.Integer newAttributeConsumingServiceIndex)
Sets the index of the Attribute Consuming Service which describes the SAML attributes the requester desires or
requires to be supplied in the
Response message. |
void |
setConditions(Conditions newConditions)
Sets the
Conditions of the request. |
void |
setForceAuthn(java.lang.Boolean newForceAuth)
Sets whether the IdP should force the user to reauthenticate.
|
void |
setForceAuthn(XSBooleanValue newForceAuthn)
Sets whether the IdP should force the user to reauthenticate.
|
void |
setIsPassive(java.lang.Boolean newIsPassive)
Sets whether the IdP should refrain from interacting with the user during the authentication process.
|
void |
setIsPassive(XSBooleanValue newIsPassive)
Sets whether the IdP should refrain from interacting with the user during the authentication process.
|
void |
setNameIDPolicy(NameIDPolicy newNameIDPolicy)
Sets the
NameIDPolicy of the request. |
void |
setProtocolBinding(java.lang.String newProtocolBinding)
Sets the protocol binding URI for the request.
|
void |
setProviderName(java.lang.String newProviderName)
Sets the human-readable name of the requester for use by the presenter's user agent or the identity provider.
|
void |
setRequestedAuthnContext(RequestedAuthnContext newRequestedAuthnContext)
Sets the
RequestedAuthnContext of the request. |
void |
setScoping(Scoping newScoping)
Sets the
Scoping of the request. |
void |
setSubject(Subject newSubject)
Sets the
Subject of the request. |
getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getSignatureReferenceID, getVersion, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersionequals, hashCode, prepareForAssignment, setSignaturegetSignature, isSigneddetach, 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, setSchemaTypeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getVersion, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersiongetSignatureReferenceIDgetSignature, isSigned, setSignaturedetach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocationprivate Subject subject
private NameIDPolicy nameIDPolicy
private Conditions conditions
private RequestedAuthnContext requestedAuthnContext
private Scoping scoping
private XSBooleanValue forceAuthn
private XSBooleanValue isPassive
private java.lang.String protocolBinding
private java.lang.Integer assertionConsumerServiceIndex
private java.lang.String assertionConsumerServiceURL
private java.lang.Integer attributeConsumingServiceIndex
private java.lang.String providerName
protected AuthnRequestImpl(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
namespaceURI - the namespace the element is inelementLocalName - the local name of the XML element this Object representsnamespacePrefix - the prefix for the given namespacepublic java.lang.Boolean isForceAuthn()
isForceAuthn in interface AuthnRequestpublic XSBooleanValue isForceAuthnXSBoolean()
isForceAuthnXSBoolean in interface AuthnRequestpublic void setForceAuthn(java.lang.Boolean newForceAuth)
setForceAuthn in interface AuthnRequestnewForceAuth - whether the IdP should force the user to reauthenticatepublic void setForceAuthn(XSBooleanValue newForceAuthn)
setForceAuthn in interface AuthnRequestnewForceAuthn - whether the IdP should force the user to reauthenticatepublic java.lang.Boolean isPassive()
isPassive in interface AuthnRequestpublic XSBooleanValue isPassiveXSBoolean()
isPassiveXSBoolean in interface AuthnRequestpublic void setIsPassive(java.lang.Boolean newIsPassive)
setIsPassive in interface AuthnRequestnewIsPassive - whether the IdP should refrain from interacting with the user during the authentication
processpublic void setIsPassive(XSBooleanValue newIsPassive)
setIsPassive in interface AuthnRequestnewIsPassive - whether the IdP should refrain from interacting with the user during the authentication
processpublic java.lang.String getProtocolBinding()
getProtocolBinding in interface AuthnRequestpublic void setProtocolBinding(java.lang.String newProtocolBinding)
setProtocolBinding in interface AuthnRequestnewProtocolBinding - the new value of the ProtocolBinding attributepublic java.lang.Integer getAssertionConsumerServiceIndex()
getAssertionConsumerServiceIndex in interface AuthnRequestpublic void setAssertionConsumerServiceIndex(java.lang.Integer newAssertionConsumerServiceIndex)
setAssertionConsumerServiceIndex in interface AuthnRequestnewAssertionConsumerServiceIndex - the new value of the AssertionConsumerServiceIndex attributepublic java.lang.String getAssertionConsumerServiceURL()
getAssertionConsumerServiceURL in interface AuthnRequestpublic void setAssertionConsumerServiceURL(java.lang.String newAssertionConsumerServiceURL)
setAssertionConsumerServiceURL in interface AuthnRequestnewAssertionConsumerServiceURL - the new value of the AssertionConsumerServiceURL attributepublic java.lang.Integer getAttributeConsumingServiceIndex()
Response message.getAttributeConsumingServiceIndex in interface AuthnRequestpublic void setAttributeConsumingServiceIndex(java.lang.Integer newAttributeConsumingServiceIndex)
Response message.setAttributeConsumingServiceIndex in interface AuthnRequestnewAttributeConsumingServiceIndex - the new value of the AttributeConsumingServiceIndex attributepublic java.lang.String getProviderName()
getProviderName in interface AuthnRequestpublic void setProviderName(java.lang.String newProviderName)
setProviderName in interface AuthnRequestnewProviderName - the new value of the ProviderName attributepublic Subject getSubject()
Subject of the request.getSubject in interface AuthnRequestpublic void setSubject(Subject newSubject)
Subject of the request.setSubject in interface AuthnRequestnewSubject - the new value of the Subject of the requestpublic NameIDPolicy getNameIDPolicy()
NameIDPolicy of the request.getNameIDPolicy in interface AuthnRequestpublic void setNameIDPolicy(NameIDPolicy newNameIDPolicy)
NameIDPolicy of the request.setNameIDPolicy in interface AuthnRequestnewNameIDPolicy - the new value of the NameIDPolicy of the requestpublic Conditions getConditions()
Conditions of the request.getConditions in interface AuthnRequestpublic void setConditions(Conditions newConditions)
Conditions of the request.setConditions in interface AuthnRequestnewConditions - the new value of the Conditions of the requestpublic RequestedAuthnContext getRequestedAuthnContext()
RequestedAuthnContext of the request.getRequestedAuthnContext in interface AuthnRequestpublic void setRequestedAuthnContext(RequestedAuthnContext newRequestedAuthnContext)
RequestedAuthnContext of the request.setRequestedAuthnContext in interface AuthnRequestnewRequestedAuthnContext - the new value of the RequestedAuthnContext of the requestpublic Scoping getScoping()
Scoping of the request.getScoping in interface AuthnRequestpublic void setScoping(Scoping newScoping)
Scoping of the request.setScoping in interface AuthnRequestnewScoping - the new value of the Scoping of the requestpublic java.util.List<XMLObject> getOrderedChildren()
getOrderedChildren in interface XMLObjectgetOrderedChildren in class RequestAbstractTypeImpl