Package com.sun.identity.saml2.protocol
Interface AuthnRequest
- 
- All Superinterfaces:
- RequestAbstract,- XmlSerializable
 
 @SupportedAll public interface AuthnRequest extends RequestAbstract TheAuthnRequestinterface defines methods for properties required by an authentication request.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description IntegergetAssertionConsumerServiceIndex()Returns the value of theAssertionConsumerServiceIndexattribute.StringgetAssertionConsumerServiceURL()Returns the value of theAssertionConsumerServiceURLattribute.IntegergetAttributeConsumingServiceIndex()Returns the value of theAttributeConsumingServiceIndexattribute.ConditionsgetConditions()Returns theConditionsobject.NameIDPolicygetNameIDPolicy()Returns theNameIDPolicyobject.StringgetProtocolBinding()Returns the value of theProtocolBindingattribute.StringgetProviderName()Returns theProviderNameattribute value.RequestedAuthnContextgetRequestedAuthnContext()Returns theRequestedAuthnContextobject.ScopinggetScoping()Returns theScopingobject.SubjectgetSubject()Returns theSubjectobject.BooleanisForceAuthn()Returns value ofisForceAuthnattribute.BooleanisPassive()Returns the value of theisPassiveattribute.voidsetAssertionConsumerServiceIndex(Integer index)Sets the value of theAssertionConsumerServiceIndexattribute.voidsetAssertionConsumerServiceURL(String url)Sets the value of theAssertionConsumerServiceURLattribute.voidsetAttributeConsumingServiceIndex(Integer index)Sets 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.RequestAbstractgetConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, isMutable, isSignatureValid, isSigned, makeImmutable, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion, sign
 - 
Methods inherited from interface com.sun.identity.saml2.common.XmlSerializabletoDocumentFragment, toXMLString, toXMLString
 
- 
 
- 
- 
- 
Method Detail- 
getSubjectSubject getSubject() Returns theSubjectobject.- Returns:
- the Subjectobject.
- See Also:
- setSubject(Subject)
 
 - 
setSubjectvoid setSubject(Subject subject) throws SAML2Exception Sets theSubjectobject.- Parameters:
- subject- the new- Subjectobject.
- Throws:
- SAML2Exception- if the object is immutable.
- See Also:
- getSubject()
 
 - 
getNameIDPolicyNameIDPolicy getNameIDPolicy() Returns theNameIDPolicyobject.- Returns:
- the NameIDPolicyobject.
- See Also:
- setNameIDPolicy(NameIDPolicy)
 
 - 
setNameIDPolicyvoid setNameIDPolicy(NameIDPolicy nameIDPolicy) throws SAML2Exception Sets theNameIDPolicyobject.- Parameters:
- nameIDPolicy- the new- NameIDPolicyobject.
- Throws:
- SAML2Exception- if the object is immutable.
- See Also:
- getNameIDPolicy()
 
 - 
getConditionsConditions getConditions() Returns theConditionsobject.- Returns:
- the Conditionsobject.
- See Also:
- setConditions(Conditions)
 
 - 
setConditionsvoid setConditions(Conditions conditions) throws SAML2Exception Sets theConditionsobject.- Parameters:
- conditions- the new- Conditionsobject.
- Throws:
- SAML2Exception- if the object is immutable.
- See Also:
- getConditions()
 
 - 
getRequestedAuthnContextRequestedAuthnContext getRequestedAuthnContext() Returns theRequestedAuthnContextobject.- Returns:
- the RequestAuthnContextobject.
- See Also:
- setRequestedAuthnContext(RequestedAuthnContext)
 
 - 
setRequestedAuthnContextvoid setRequestedAuthnContext(RequestedAuthnContext reqAuthnContext) throws SAML2Exception Sets theRequestedAuthnContext.- Parameters:
- reqAuthnContext- the new- RequestedAuthnContextobject.
- Throws:
- SAML2Exception- if the object is immutable.
- See Also:
- getRequestedAuthnContext()
 
 - 
setScopingvoid setScoping(Scoping scoping) throws SAML2Exception Sets theScopingobject.- Parameters:
- scoping- the new- ScopingObject.
- Throws:
- SAML2Exception- if the object is immutable.
- See Also:
- getScoping()
 
 - 
getScopingScoping getScoping() Returns theScopingobject.- Returns:
- the Scopingobject.
- See Also:
- setScoping(Scoping)
 
 - 
isForceAuthnBoolean isForceAuthn() Returns value ofisForceAuthnattribute.- Returns:
- value of isForceAuthnattribute, or null if the attribute is not present.
 
 - 
setForceAuthnvoid setForceAuthn(Boolean value) throws SAML2Exception Sets the value of theForceAuthnattribute.- Parameters:
- value- the value of- ForceAuthnattribute.
- Throws:
- SAML2Exception- if the object is immutable.
 
 - 
isPassiveBoolean isPassive() Returns the value of theisPassiveattribute.- Returns:
- value of isPassiveattribute, or null if the attribute is not present.
 
 - 
setIsPassivevoid setIsPassive(Boolean value) throws SAML2Exception Sets the value of theIsPassiveattribute.- Parameters:
- value- Value of- IsPassiveattribute.
- Throws:
- SAML2Exception- if the object is immutable.
 
 - 
setProtocolBindingvoid setProtocolBinding(String protocolBinding) throws SAML2Exception Sets the value of theProtocolBindingattribute.- Parameters:
- protocolBinding- value of the- ProtocolBindingattribute.
- Throws:
- SAML2Exception- if the object is immutable.
- See Also:
- getProtocolBinding()
 
 - 
getProtocolBindingString getProtocolBinding() Returns the value of theProtocolBindingattribute.- Returns:
- the value of ProtocolBindingattribute.
- See Also:
- setProtocolBinding(String)
 
 - 
getAssertionConsumerServiceURLString getAssertionConsumerServiceURL() Returns the value of theAssertionConsumerServiceURLattribute.- Returns:
- the value of AssertionConsumerServiceURLattribute.
- See Also:
- setAssertionConsumerServiceURL(String)
 
 - 
setAssertionConsumerServiceURLvoid setAssertionConsumerServiceURL(String url) throws SAML2Exception Sets the value of theAssertionConsumerServiceURLattribute.- Parameters:
- url- the value of- AssertionConsumerServiceURLattribute.
- Throws:
- SAML2Exception- if the object is immutable.
- See Also:
- getAssertionConsumerServiceURL()
 
 - 
getAssertionConsumerServiceIndexInteger getAssertionConsumerServiceIndex() Returns the value of theAssertionConsumerServiceIndexattribute.- Returns:
- value of the AssertionConsumerServiceIndexattribute.
- See Also:
- setAssertionConsumerServiceIndex(Integer)
 
 - 
setAssertionConsumerServiceIndexvoid setAssertionConsumerServiceIndex(Integer index) throws SAML2Exception Sets the value of theAssertionConsumerServiceIndexattribute.- Parameters:
- index- value of the- AssertionConsumerServiceIndexattribute.
- Throws:
- SAML2Exception- if the object is immutable.
- See Also:
- getAssertionConsumerServiceIndex()
 
 - 
getAttributeConsumingServiceIndexInteger getAttributeConsumingServiceIndex() Returns the value of theAttributeConsumingServiceIndexattribute.- Returns:
- value of the AttributeConsumingServiceIndexattribute.
- See Also:
- setAttributeConsumingServiceIndex(Integer)
 
 - 
setAttributeConsumingServiceIndexvoid setAttributeConsumingServiceIndex(Integer index) throws SAML2Exception Sets the value of theAttributeConsumingServiceIndexattribute.- Parameters:
- index- value of the- AttributeConsumingServiceIndexattribute.
- Throws:
- SAML2Exception- if the object is immutable.
- See Also:
- getAttributeConsumingServiceIndex()
 
 - 
setProviderNamevoid setProviderName(String providerName) throws SAML2Exception Sets theProviderNameattribute value.- Parameters:
- providerName- value of the- ProviderNameattribute.
- Throws:
- SAML2Exception- if the object is immutable.
- See Also:
- getProviderName()
 
 - 
getProviderNameString getProviderName() Returns theProviderNameattribute value.- Returns:
- value of the ProviderNameattribute value.
- See Also:
- setProviderName(String)
 
 
- 
 
-