public class AuthnRequestImpl extends RequestAbstractTypeImpl implements AuthnRequest
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
CONSENT_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(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getAssertionConsumerServiceIndex()
Gets the index of the particular Assertion Consumer Service to which the response to this request should be
delivered.
|
String |
getAssertionConsumerServiceURL()
Gets the URL of the particular Assertion Consumer Service to which the response to this request should be
delivered.
|
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. |
List<XMLObject> |
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
String |
getProtocolBinding()
Gets the protocol binding URI for the request.
|
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. |
Boolean |
isForceAuthn()
Gets whether the IdP should force the user to reauthenticate.
|
XSBooleanValue |
isForceAuthnXSBoolean()
Gets whether the IdP should force the user to reauthenticate.
|
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(Integer newAssertionConsumerServiceIndex)
Sets the index of the particular Assertion Consumer Service to which the response to this request should be
delivered.
|
void |
setAssertionConsumerServiceURL(String newAssertionConsumerServiceURL)
Sets the URL of the particular Assertion Consumer Service to which the response to this request should be
delivered.
|
void |
setAttributeConsumingServiceIndex(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(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(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(String newProtocolBinding)
Sets the protocol binding URI for the request.
|
void |
setProviderName(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, setVersion
equals, prepareForAssignment, setSignature
deregisterValidator, getValidators, registerValidator, validate, validateChildren
getSignature, isSigned
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getVersion, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion
getSignatureReferenceID
getSignature, isSigned, setSignature
deregisterValidator, getValidators, registerValidator, validate
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
protected AuthnRequestImpl(String namespaceURI, String elementLocalName, 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 Boolean isForceAuthn()
isForceAuthn
in interface AuthnRequest
public XSBooleanValue isForceAuthnXSBoolean()
isForceAuthnXSBoolean
in interface AuthnRequest
public void setForceAuthn(Boolean newForceAuth)
setForceAuthn
in interface AuthnRequest
newForceAuth
- whether the IdP should force the user to reauthenticatepublic void setForceAuthn(XSBooleanValue newForceAuthn)
setForceAuthn
in interface AuthnRequest
newForceAuthn
- whether the IdP should force the user to reauthenticatepublic Boolean isPassive()
isPassive
in interface AuthnRequest
public XSBooleanValue isPassiveXSBoolean()
isPassiveXSBoolean
in interface AuthnRequest
public void setIsPassive(Boolean newIsPassive)
setIsPassive
in interface AuthnRequest
newIsPassive
- whether the IdP should refrain from interacting with the user during the authentication
processpublic void setIsPassive(XSBooleanValue newIsPassive)
setIsPassive
in interface AuthnRequest
newIsPassive
- whether the IdP should refrain from interacting with the user during the authentication
processpublic String getProtocolBinding()
getProtocolBinding
in interface AuthnRequest
public void setProtocolBinding(String newProtocolBinding)
setProtocolBinding
in interface AuthnRequest
newProtocolBinding
- the new value of the ProtocolBinding attributepublic Integer getAssertionConsumerServiceIndex()
getAssertionConsumerServiceIndex
in interface AuthnRequest
public void setAssertionConsumerServiceIndex(Integer newAssertionConsumerServiceIndex)
setAssertionConsumerServiceIndex
in interface AuthnRequest
newAssertionConsumerServiceIndex
- the new value of the AssertionConsumerServiceIndex attributepublic String getAssertionConsumerServiceURL()
getAssertionConsumerServiceURL
in interface AuthnRequest
public void setAssertionConsumerServiceURL(String newAssertionConsumerServiceURL)
setAssertionConsumerServiceURL
in interface AuthnRequest
newAssertionConsumerServiceURL
- the new value of the AssertionConsumerServiceURL attributepublic Integer getAttributeConsumingServiceIndex()
Response
message.getAttributeConsumingServiceIndex
in interface AuthnRequest
public void setAttributeConsumingServiceIndex(Integer newAttributeConsumingServiceIndex)
Response
message.setAttributeConsumingServiceIndex
in interface AuthnRequest
newAttributeConsumingServiceIndex
- the new value of the AttributeConsumingServiceIndex attributepublic String getProviderName()
getProviderName
in interface AuthnRequest
public void setProviderName(String newProviderName)
setProviderName
in interface AuthnRequest
newProviderName
- the new value of the ProviderName attributepublic Subject getSubject()
Subject
of the request.getSubject
in interface AuthnRequest
public void setSubject(Subject newSubject)
Subject
of the request.setSubject
in interface AuthnRequest
newSubject
- the new value of the Subject of the requestpublic NameIDPolicy getNameIDPolicy()
NameIDPolicy
of the request.getNameIDPolicy
in interface AuthnRequest
public void setNameIDPolicy(NameIDPolicy newNameIDPolicy)
NameIDPolicy
of the request.setNameIDPolicy
in interface AuthnRequest
newNameIDPolicy
- the new value of the NameIDPolicy of the requestpublic Conditions getConditions()
Conditions
of the request.getConditions
in interface AuthnRequest
public void setConditions(Conditions newConditions)
Conditions
of the request.setConditions
in interface AuthnRequest
newConditions
- the new value of the Conditions of the requestpublic RequestedAuthnContext getRequestedAuthnContext()
RequestedAuthnContext
of the request.getRequestedAuthnContext
in interface AuthnRequest
public void setRequestedAuthnContext(RequestedAuthnContext newRequestedAuthnContext)
RequestedAuthnContext
of the request.setRequestedAuthnContext
in interface AuthnRequest
newRequestedAuthnContext
- the new value of the RequestedAuthnContext of the requestpublic Scoping getScoping()
Scoping
of the request.getScoping
in interface AuthnRequest
public void setScoping(Scoping newScoping)
Scoping
of the request.setScoping
in interface AuthnRequest
newScoping
- the new value of the Scoping of the requestpublic List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
getOrderedChildren
in class RequestAbstractTypeImpl
Copyright © 2018 JBoss by Red Hat. All rights reserved.