Package com.sun.identity.saml2.protocol
Interface AuthnRequest
-
- All Superinterfaces:
RequestAbstract
- All Known Implementing Classes:
AuthnRequestImpl
public interface AuthnRequest extends RequestAbstract
TheAuthnRequestinterface defines methods for properties required by an authentication request.
-
-
Method Summary
All 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.RequestAbstract
getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getSignature, getVersion, isMutable, isSignatureValid, isSigned, makeImmutable, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion, sign, toXMLString, toXMLString
-
-
-
-
Method Detail
-
getSubject
Subject getSubject()
Returns theSubjectobject.- Returns:
- the
Subjectobject. - See Also:
setSubject(Subject)
-
setSubject
void setSubject(Subject subject) throws SAML2Exception
Sets theSubjectobject.- Parameters:
subject- the newSubjectobject.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getSubject()
-
getNameIDPolicy
NameIDPolicy getNameIDPolicy()
Returns theNameIDPolicyobject.- Returns:
- the
NameIDPolicyobject. - See Also:
setNameIDPolicy(NameIDPolicy)
-
setNameIDPolicy
void setNameIDPolicy(NameIDPolicy nameIDPolicy) throws SAML2Exception
Sets theNameIDPolicyobject.- Parameters:
nameIDPolicy- the newNameIDPolicyobject.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getNameIDPolicy()
-
getConditions
Conditions getConditions()
Returns theConditionsobject.- Returns:
- the
Conditionsobject. - See Also:
setConditions(Conditions)
-
setConditions
void setConditions(Conditions conditions) throws SAML2Exception
Sets theConditionsobject.- Parameters:
conditions- the newConditionsobject.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getConditions()
-
getRequestedAuthnContext
RequestedAuthnContext getRequestedAuthnContext()
Returns theRequestedAuthnContextobject.- Returns:
- the
RequestAuthnContextobject. - See Also:
setRequestedAuthnContext(RequestedAuthnContext)
-
setRequestedAuthnContext
void setRequestedAuthnContext(RequestedAuthnContext reqAuthnContext) throws SAML2Exception
Sets theRequestedAuthnContext.- Parameters:
reqAuthnContext- the newRequestedAuthnContextobject.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getRequestedAuthnContext()
-
setScoping
void setScoping(Scoping scoping) throws SAML2Exception
Sets theScopingobject.- Parameters:
scoping- the newScopingObject.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getScoping()
-
getScoping
Scoping getScoping()
Returns theScopingobject.- Returns:
- the
Scopingobject. - See Also:
setScoping(Scoping)
-
isForceAuthn
Boolean isForceAuthn()
Returns value ofisForceAuthnattribute.- Returns:
- value of
isForceAuthnattribute, or null if the attribute is not present.
-
setForceAuthn
void setForceAuthn(Boolean value) throws SAML2Exception
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
void setIsPassive(Boolean value) throws SAML2Exception
Sets the value of theIsPassiveattribute.- Parameters:
value- Value ofIsPassiveattribute.- Throws:
SAML2Exception- if the object is immutable.
-
setProtocolBinding
void setProtocolBinding(String protocolBinding) throws SAML2Exception
Sets the value of theProtocolBindingattribute.- Parameters:
protocolBinding- value of theProtocolBindingattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getProtocolBinding()
-
getProtocolBinding
String getProtocolBinding()
Returns the value of theProtocolBindingattribute.- Returns:
- the value of
ProtocolBindingattribute. - See Also:
setProtocolBinding(String)
-
getAssertionConsumerServiceURL
String getAssertionConsumerServiceURL()
Returns the value of theAssertionConsumerServiceURLattribute.- Returns:
- the value of
AssertionConsumerServiceURLattribute. - See Also:
setAssertionConsumerServiceURL(String)
-
setAssertionConsumerServiceURL
void setAssertionConsumerServiceURL(String url) throws SAML2Exception
Sets the value of theAssertionConsumerServiceURLattribute.- Parameters:
url- the value ofAssertionConsumerServiceURLattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getAssertionConsumerServiceURL()
-
getAssertionConsumerServiceIndex
Integer getAssertionConsumerServiceIndex()
Returns the value of theAssertionConsumerServiceIndexattribute.- Returns:
- value of the
AssertionConsumerServiceIndexattribute. - See Also:
setAssertionConsumerServiceIndex(Integer)
-
setAssertionConsumerServiceIndex
void setAssertionConsumerServiceIndex(Integer index) throws SAML2Exception
Sets the value of theAssertionConsumerServiceIndexattribute.- Parameters:
index- value of theAssertionConsumerServiceIndexattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getAssertionConsumerServiceIndex()
-
getAttributeConsumingServiceIndex
Integer getAttributeConsumingServiceIndex()
Returns the value of theAttributeConsumingServiceIndexattribute.- Returns:
- value of the
AttributeConsumingServiceIndexattribute. - See Also:
setAttributeConsumingServiceIndex(Integer)
-
setAttributeConsumingServiceIndex
void setAttributeConsumingServiceIndex(Integer index) throws SAML2Exception
Sets the value of theAttributeConsumingServiceIndexattribute.- Parameters:
index- value of theAttributeConsumingServiceIndexattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getAttributeConsumingServiceIndex()
-
setProviderName
void setProviderName(String providerName) throws SAML2Exception
Sets theProviderNameattribute value.- Parameters:
providerName- value of theProviderNameattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getProviderName()
-
getProviderName
String getProviderName()
Returns theProviderNameattribute value.- Returns:
- value of the
ProviderNameattribute value. - See Also:
setProviderName(String)
-
-