|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.xml.AbstractXMLObject
org.opensaml.xml.signature.AbstractSignableXMLObject
org.opensaml.xml.AbstractValidatingSignableXMLObject
org.opensaml.common.impl.AbstractSignableSAMLObject
org.opensaml.saml2.core.impl.RequestAbstractTypeImpl
org.opensaml.saml2.core.impl.AuthnRequestImpl
public class AuthnRequestImpl
A concrete implementation of AuthnRequest
.
Field Summary |
---|
Fields inherited from interface org.opensaml.saml2.core.RequestAbstractType |
---|
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 |
Constructor Summary | |
---|---|
protected |
AuthnRequestImpl(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
Constructor. |
Method Summary | |
---|---|
java.lang.Integer |
getAssertionConsumerServiceIndex()
Gets the index of the particular Assertion Consumer Service to which the response to this request should be delivered. |
java.lang.String |
getAssertionConsumerServiceURL()
Gets the URL of the particular Assertion Consumer Service to which the response to this request should be delivered. |
java.lang.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. |
java.util.List<org.opensaml.xml.XMLObject> |
getOrderedChildren()
|
java.lang.String |
getProtocolBinding()
Gets the protocol binding URI for the request. |
java.lang.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. |
java.lang.Boolean |
isForceAuthn()
Gets whether the IdP should force the user to reauthenticate. |
org.opensaml.xml.schema.XSBooleanValue |
isForceAuthnXSBoolean()
Gets whether the IdP should force the user to reauthenticate. |
java.lang.Boolean |
isPassive()
Gets whether the IdP should refrain from interacting with the user during the authentication process. |
org.opensaml.xml.schema.XSBooleanValue |
isPassiveXSBoolean()
Gets whether the IdP should refrain from interacting with the user during the authentication process. |
void |
setAssertionConsumerServiceIndex(java.lang.Integer newAssertionConsumerServiceIndex)
Sets the index of the particular Assertion Consumer Service to which the response to this request should be delivered. |
void |
setAssertionConsumerServiceURL(java.lang.String newAssertionConsumerServiceURL)
Sets the URL of the particular Assertion Consumer Service to which the response to this request should be delivered. |
void |
setAttributeConsumingServiceIndex(java.lang.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(java.lang.Boolean newForceAuth)
Sets whether the IdP should force the user to reauthenticate. |
void |
setForceAuthn(org.opensaml.xml.schema.XSBooleanValue newForceAuthn)
Sets whether the IdP should force the user to reauthenticate. |
void |
setIsPassive(java.lang.Boolean newIsPassive)
Sets whether the IdP should refrain from interacting with the user during the authentication process. |
void |
setIsPassive(org.opensaml.xml.schema.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(java.lang.String newProtocolBinding)
Sets the protocol binding URI for the request. |
void |
setProviderName(java.lang.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. |
Methods inherited from class org.opensaml.saml2.core.impl.RequestAbstractTypeImpl |
---|
getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getSignatureReferenceID, getVersion, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion |
Methods inherited from class org.opensaml.common.impl.AbstractSignableSAMLObject |
---|
equals, prepareForAssignment, setSignature |
Methods inherited from class org.opensaml.xml.AbstractValidatingSignableXMLObject |
---|
deregisterValidator, getValidators, registerValidator, validate, validateChildren |
Methods inherited from class org.opensaml.xml.signature.AbstractSignableXMLObject |
---|
getSignature, isSigned |
Methods inherited from class org.opensaml.xml.AbstractXMLObject |
---|
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opensaml.saml2.core.RequestAbstractType |
---|
getConsent, getDestination, getExtensions, getID, getIssueInstant, getIssuer, getVersion, setConsent, setDestination, setExtensions, setID, setIssueInstant, setIssuer, setVersion |
Methods inherited from interface org.opensaml.common.SignableSAMLObject |
---|
getSignatureReferenceID |
Methods inherited from interface org.opensaml.xml.signature.SignableXMLObject |
---|
getSignature, isSigned, setSignature |
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject |
---|
deregisterValidator, getValidators, registerValidator, validate |
Methods inherited from interface org.opensaml.xml.XMLObject |
---|
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation |
Constructor Detail |
---|
protected AuthnRequestImpl(java.lang.String namespaceURI, java.lang.String elementLocalName, java.lang.String namespacePrefix)
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespaceMethod Detail |
---|
public java.lang.Boolean isForceAuthn()
isForceAuthn
in interface AuthnRequest
public org.opensaml.xml.schema.XSBooleanValue isForceAuthnXSBoolean()
isForceAuthnXSBoolean
in interface AuthnRequest
public void setForceAuthn(java.lang.Boolean newForceAuth)
setForceAuthn
in interface AuthnRequest
newForceAuth
- whether the IdP should force the user to reauthenticatepublic void setForceAuthn(org.opensaml.xml.schema.XSBooleanValue newForceAuthn)
setForceAuthn
in interface AuthnRequest
newForceAuthn
- whether the IdP should force the user to reauthenticatepublic java.lang.Boolean isPassive()
isPassive
in interface AuthnRequest
public org.opensaml.xml.schema.XSBooleanValue isPassiveXSBoolean()
isPassiveXSBoolean
in interface AuthnRequest
public void setIsPassive(java.lang.Boolean newIsPassive)
setIsPassive
in interface AuthnRequest
newIsPassive
- whether the IdP should refrain from interacting with the user during the authentication
processpublic void setIsPassive(org.opensaml.xml.schema.XSBooleanValue newIsPassive)
setIsPassive
in interface AuthnRequest
newIsPassive
- whether the IdP should refrain from interacting with the user during the authentication
processpublic java.lang.String getProtocolBinding()
getProtocolBinding
in interface AuthnRequest
public void setProtocolBinding(java.lang.String newProtocolBinding)
setProtocolBinding
in interface AuthnRequest
newProtocolBinding
- the new value of the ProtocolBinding attributepublic java.lang.Integer getAssertionConsumerServiceIndex()
getAssertionConsumerServiceIndex
in interface AuthnRequest
public void setAssertionConsumerServiceIndex(java.lang.Integer newAssertionConsumerServiceIndex)
setAssertionConsumerServiceIndex
in interface AuthnRequest
newAssertionConsumerServiceIndex
- the new value of the AssertionConsumerServiceIndex attributepublic java.lang.String getAssertionConsumerServiceURL()
getAssertionConsumerServiceURL
in interface AuthnRequest
public void setAssertionConsumerServiceURL(java.lang.String newAssertionConsumerServiceURL)
setAssertionConsumerServiceURL
in interface AuthnRequest
newAssertionConsumerServiceURL
- the new value of the AssertionConsumerServiceURL attributepublic java.lang.Integer getAttributeConsumingServiceIndex()
Response
message.
getAttributeConsumingServiceIndex
in interface AuthnRequest
public void setAttributeConsumingServiceIndex(java.lang.Integer newAttributeConsumingServiceIndex)
Response
message.
setAttributeConsumingServiceIndex
in interface AuthnRequest
newAttributeConsumingServiceIndex
- the new value of the AttributeConsumingServiceIndex attributepublic java.lang.String getProviderName()
getProviderName
in interface AuthnRequest
public void setProviderName(java.lang.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 java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
getOrderedChildren
in interface org.opensaml.xml.XMLObject
getOrderedChildren
in class RequestAbstractTypeImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |