Package org.opensaml.saml.saml2.core
Interface AuthnRequest
- All Superinterfaces:
RequestAbstractType,SAMLObject,SignableSAMLObject,SignableXMLObject,XMLObject
- All Known Implementing Classes:
AuthnRequestImpl
SAML 2.0 Core AuthnRequest.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAssertionConsumerServiceIndex attribute name.static final StringAssertionConsumerServiceURL attribute name.static final StringAttributeConsumingServiceIndex attribute name.static final StringElement local name.static final QNameDefault element name.static final StringForceAuthn attribute name.static final StringIsPassive attribute name.static final StringProtocolBinding attribute name.static final StringProviderName attribute name.static final StringLocal name of the XSI type.static final QNameQName of the XSI type.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, UNAVAILABLE_CONSENT, UNSPECIFIED_CONSENT, VERSION_ATTRIB_NAME -
Method Summary
Modifier and TypeMethodDescriptionGets the index of the particular Assertion Consumer Service to which the response to this request should be delivered.Gets the URL of the particular Assertion Consumer Service to which the response to this request should be delivered.Gets the index of the Attribute Consuming Service which describes the SAML attributes the requester desires or requires to be supplied in theResponsemessage.Gets theConditionsof the request.Gets theNameIDPolicyof the request.Gets the protocol binding URI for the request.Gets the human-readable name of the requester for use by the presenter's user agent or the identity provider.Gets theRequestedAuthnContextof the request.Gets theScopingof the request.Gets theSubjectof the request.Gets whether the IdP should force the user to reauthenticate.Gets whether the IdP should force the user to reauthenticate.Gets whether the IdP should refrain from interacting with the user during the authentication process.Gets whether the IdP should refrain from interacting with the user during the authentication process.voidsetAssertionConsumerServiceIndex(Integer newAssertionConsumerServiceIndex) Sets the index of the particular Assertion Consumer Service to which the response to this request should be delivered.voidsetAssertionConsumerServiceURL(String newAssertionConsumerServiceURL) Sets the URL of the particular Assertion Consumer Service to which the response to this request should be delivered.voidsetAttributeConsumingServiceIndex(Integer newAttributeConsumingServiceIndex) Sets the index of the Attribute Consuming Service which describes the SAML attributes the requester desires or requires to be supplied in theResponsemessage.voidsetConditions(Conditions newConditions) Sets theConditionsof the request.voidsetForceAuthn(Boolean newForceAuthn) Sets whether the IdP should force the user to reauthenticate.voidsetForceAuthn(XSBooleanValue newForceAuthn) Sets whether the IdP should force the user to reauthenticate.voidsetIsPassive(Boolean newIsPassive) Sets whether the IdP should refrain from interacting with the user during the authentication process.voidsetIsPassive(XSBooleanValue newIsPassive) Sets whether the IdP should refrain from interacting with the user during the authentication process.voidsetNameIDPolicy(NameIDPolicy newNameIDPolicy) Sets theNameIDPolicyof the request.voidsetProtocolBinding(String newProtocolBinding) Sets the protocol binding URI for the request.voidsetProviderName(String newProviderName) Sets the human-readable name of the requester for use by the presenter's user agent or the identity provider.voidsetRequestedAuthnContext(RequestedAuthnContext newRequestedAuthnContext) Sets theRequestedAuthnContextof the request.voidsetScoping(Scoping newScoping) Sets theScopingof the request.voidsetSubject(Subject newSubject) Sets theSubjectof the request.Methods inherited from interface org.opensaml.saml.saml2.core.RequestAbstractType
getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getVersion, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersionMethods inherited from interface org.opensaml.saml.common.SignableSAMLObject
getSignatureReferenceIDMethods inherited from interface org.opensaml.xmlsec.signature.SignableXMLObject
getSignature, isSigned, setSignatureMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
DEFAULT_ELEMENT_LOCAL_NAME
Element local name.- See Also:
-
DEFAULT_ELEMENT_NAME
Default element name. -
TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
-
TYPE_NAME
QName of the XSI type. -
FORCE_AUTHN_ATTRIB_NAME
ForceAuthn attribute name.- See Also:
-
IS_PASSIVE_ATTRIB_NAME
IsPassive attribute name.- See Also:
-
PROTOCOL_BINDING_ATTRIB_NAME
ProtocolBinding attribute name.- See Also:
-
ASSERTION_CONSUMER_SERVICE_INDEX_ATTRIB_NAME
AssertionConsumerServiceIndex attribute name.- See Also:
-
ASSERTION_CONSUMER_SERVICE_URL_ATTRIB_NAME
AssertionConsumerServiceURL attribute name.- See Also:
-
ATTRIBUTE_CONSUMING_SERVICE_INDEX_ATTRIB_NAME
AttributeConsumingServiceIndex attribute name.- See Also:
-
PROVIDER_NAME_ATTRIB_NAME
ProviderName attribute name.- See Also:
-
-
Method Details
-
isForceAuthn
Gets whether the IdP should force the user to reauthenticate.- Returns:
- whether the IdP should force the user to reauthenticate
-
isForceAuthnXSBoolean
Gets whether the IdP should force the user to reauthenticate.- Returns:
- whether the IdP should force the user to reauthenticate
-
setForceAuthn
Sets whether the IdP should force the user to reauthenticate. Boolean values will be marshalled to either "true" or "false".- Parameters:
newForceAuthn- whether the IdP should force the user to reauthenticate
-
setForceAuthn
Sets whether the IdP should force the user to reauthenticate.- Parameters:
newForceAuthn- whether the IdP should force the user to reauthenticate
-
isPassive
Gets whether the IdP should refrain from interacting with the user during the authentication process.- Returns:
- whether the IdP should refrain from interacting with the user during the authentication process
-
isPassiveXSBoolean
Gets whether the IdP should refrain from interacting with the user during the authentication process.- Returns:
- whether the IdP should refrain from interacting with the user during the authentication process
-
setIsPassive
Sets whether the IdP should refrain from interacting with the user during the authentication process. Boolean values will be marshalled to either "true" or "false".- Parameters:
newIsPassive- whether the IdP should refrain from interacting with the user during the authentication process
-
setIsPassive
Sets whether the IdP should refrain from interacting with the user during the authentication process.- Parameters:
newIsPassive- whether the IdP should refrain from interacting with the user during the authentication process
-
getProtocolBinding
Gets the protocol binding URI for the request.- Returns:
- the value of the ProtocolBinding attribute
-
setProtocolBinding
Sets the protocol binding URI for the request.- Parameters:
newProtocolBinding- the new value of the ProtocolBinding attribute
-
getAssertionConsumerServiceIndex
Gets the index of the particular Assertion Consumer Service to which the response to this request should be delivered.- Returns:
- the value of the AssertionConsumerServiceIndex attribute
-
setAssertionConsumerServiceIndex
Sets the index of the particular Assertion Consumer Service to which the response to this request should be delivered.- Parameters:
newAssertionConsumerServiceIndex- the new value of the AssertionConsumerServiceIndex attribute
-
getAssertionConsumerServiceURL
Gets the URL of the particular Assertion Consumer Service to which the response to this request should be delivered.- Returns:
- the value of the AssertionConsumerServiceURL attribute
-
setAssertionConsumerServiceURL
Sets the URL of the particular Assertion Consumer Service to which the response to this request should be delivered.- Parameters:
newAssertionConsumerServiceURL- the new value of the AssertionConsumerServiceURL attribute
-
getAttributeConsumingServiceIndex
Gets the index of the Attribute Consuming Service which describes the SAML attributes the requester desires or requires to be supplied in theResponsemessage.- Returns:
- the value of the AssertionConsumerServiceIndex attribute
-
setAttributeConsumingServiceIndex
Sets the index of the Attribute Consuming Service which describes the SAML attributes the requester desires or requires to be supplied in theResponsemessage.- Parameters:
newAttributeConsumingServiceIndex- the new value of the AttributeConsumingServiceIndex attribute
-
getProviderName
Gets the human-readable name of the requester for use by the presenter's user agent or the identity provider.- Returns:
- the value of the ProviderName attribute
-
setProviderName
Sets the human-readable name of the requester for use by the presenter's user agent or the identity provider.- Parameters:
newProviderName- the new value of the ProviderName attribute
-
getSubject
Gets theSubjectof the request.- Returns:
- the Subject of the request
-
setSubject
Sets theSubjectof the request.- Parameters:
newSubject- the new value of the Subject of the request
-
getNameIDPolicy
Gets theNameIDPolicyof the request.- Returns:
- the NameIDPolicy of the request
-
setNameIDPolicy
Sets theNameIDPolicyof the request.- Parameters:
newNameIDPolicy- the new value of the NameIDPolicy of the request
-
getConditions
Gets theConditionsof the request.- Returns:
- the Conditions of the request
-
setConditions
Sets theConditionsof the request.- Parameters:
newConditions- the new value of the Conditions of the request
-
getRequestedAuthnContext
Gets theRequestedAuthnContextof the request.- Returns:
- the RequestedAuthnContext of the request
-
setRequestedAuthnContext
Sets theRequestedAuthnContextof the request.- Parameters:
newRequestedAuthnContext- the new value of the RequestedAuthnContext of the request
-
getScoping
Gets theScopingof the request.- Returns:
- the Scoping of the request
-
setScoping
Sets theScopingof the request.- Parameters:
newScoping- the new value of the Scoping of the request
-