Package com.sun.identity.saml2.protocol
Interface AuthnRequest
- All Superinterfaces:
RequestAbstract,XmlSerializable
The
AuthnRequest interface defines methods for properties
required by an authentication request.-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theAssertionConsumerServiceIndexattribute.Returns the value of theAssertionConsumerServiceURLattribute.Returns the value of theAttributeConsumingServiceIndexattribute.Returns theConditionsobject.Returns theNameIDPolicyobject.Returns the value of theProtocolBindingattribute.Returns theProviderNameattribute value.Returns theRequestedAuthnContextobject.Returns theScopingobject.Returns theSubjectobject.Returns value ofisForceAuthnattribute.Returns the value of theisPassiveattribute.voidSets the value of theAssertionConsumerServiceIndexattribute.voidSets the value of theAssertionConsumerServiceURLattribute.voidSets the value of theAttributeConsumingServiceIndexattribute.voidsetConditions(Conditions conditions) Sets theConditionsobject.voidsetForceAuthn(Boolean value) Sets the value of theForceAuthnattribute.voidsetIsPassive(Boolean value) Sets the value of theIsPassiveattribute.voidsetNameIDPolicy(NameIDPolicy nameIDPolicy) Sets theNameIDPolicyobject.voidsetProtocolBinding(String protocolBinding) Sets the value of theProtocolBindingattribute.voidsetProviderName(String providerName) Sets theProviderNameattribute value.voidsetRequestedAuthnContext(RequestedAuthnContext reqAuthnContext) Sets theRequestedAuthnContext.voidsetScoping(Scoping scoping) Sets theScopingobject.voidsetSubject(Subject subject) Sets theSubjectobject.Methods inherited from interface com.sun.identity.saml2.protocol.RequestAbstract
getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, isMutable, isSignatureValid, isSigned, makeImmutable, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion, signMethods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
Method Details
-
getSubject
Subject getSubject()Returns theSubjectobject.- Returns:
- the
Subjectobject. - See Also:
-
setSubject
Sets theSubjectobject.- Parameters:
subject- the newSubjectobject.- Throws:
SAML2Exception- if the object is immutable.- See Also:
-
getNameIDPolicy
NameIDPolicy getNameIDPolicy()Returns theNameIDPolicyobject.- Returns:
- the
NameIDPolicyobject. - See Also:
-
setNameIDPolicy
Sets theNameIDPolicyobject.- Parameters:
nameIDPolicy- the newNameIDPolicyobject.- Throws:
SAML2Exception- if the object is immutable.- See Also:
-
getConditions
Conditions getConditions()Returns theConditionsobject.- Returns:
- the
Conditionsobject. - See Also:
-
setConditions
Sets theConditionsobject.- Parameters:
conditions- the newConditionsobject.- Throws:
SAML2Exception- if the object is immutable.- See Also:
-
getRequestedAuthnContext
RequestedAuthnContext getRequestedAuthnContext()Returns theRequestedAuthnContextobject.- Returns:
- the
RequestAuthnContextobject. - See Also:
-
setRequestedAuthnContext
Sets theRequestedAuthnContext.- Parameters:
reqAuthnContext- the newRequestedAuthnContextobject.- Throws:
SAML2Exception- if the object is immutable.- See Also:
-
setScoping
Sets theScopingobject.- Parameters:
scoping- the newScopingObject.- Throws:
SAML2Exception- if the object is immutable.- See Also:
-
getScoping
Scoping getScoping()Returns theScopingobject.- Returns:
- the
Scopingobject. - See Also:
-
isForceAuthn
Boolean isForceAuthn()Returns value ofisForceAuthnattribute.- Returns:
- value of
isForceAuthnattribute, or null if the attribute is not present.
-
setForceAuthn
Sets the value of theForceAuthnattribute.- Parameters:
value- the value ofForceAuthnattribute.- Throws:
SAML2Exception- if the object is immutable.
-
isPassive
Boolean isPassive()Returns the value of theisPassiveattribute.- Returns:
- value of
isPassiveattribute, or null if the attribute is not present.
-
setIsPassive
Sets the value of theIsPassiveattribute.- Parameters:
value- Value ofIsPassiveattribute.- Throws:
SAML2Exception- if the object is immutable.
-
setProtocolBinding
Sets the value of theProtocolBindingattribute.- Parameters:
protocolBinding- value of theProtocolBindingattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
-
getProtocolBinding
String getProtocolBinding()Returns the value of theProtocolBindingattribute.- Returns:
- the value of
ProtocolBindingattribute. - See Also:
-
getAssertionConsumerServiceURL
String getAssertionConsumerServiceURL()Returns the value of theAssertionConsumerServiceURLattribute.- Returns:
- the value of
AssertionConsumerServiceURLattribute. - See Also:
-
setAssertionConsumerServiceURL
Sets the value of theAssertionConsumerServiceURLattribute.- Parameters:
url- the value ofAssertionConsumerServiceURLattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
-
getAssertionConsumerServiceIndex
Integer getAssertionConsumerServiceIndex()Returns the value of theAssertionConsumerServiceIndexattribute.- Returns:
- value of the
AssertionConsumerServiceIndexattribute. - See Also:
-
setAssertionConsumerServiceIndex
Sets the value of theAssertionConsumerServiceIndexattribute.- Parameters:
index- value of theAssertionConsumerServiceIndexattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
-
getAttributeConsumingServiceIndex
Integer getAttributeConsumingServiceIndex()Returns the value of theAttributeConsumingServiceIndexattribute.- Returns:
- value of the
AttributeConsumingServiceIndexattribute. - See Also:
-
setAttributeConsumingServiceIndex
Sets the value of theAttributeConsumingServiceIndexattribute.- Parameters:
index- value of theAttributeConsumingServiceIndexattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
-
setProviderName
Sets theProviderNameattribute value.- Parameters:
providerName- value of theProviderNameattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
-
getProviderName
String getProviderName()Returns theProviderNameattribute value.- Returns:
- value of the
ProviderNameattribute value. - See Also:
-