|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 | |
---|---|
private Integer |
assertionConsumerServiceIndex
AssertionConsumerServiceIndex attribute. |
private String |
assertionConsumerServiceURL
AssertionConsumerServiceURL attribute. |
private Integer |
attributeConsumingServiceIndex
AttributeConsumingServiceIndex attribute. |
private Conditions |
conditions
Conditions child element. |
private XSBooleanValue |
forceAuthn
ForeceAuthn attribute. |
private XSBooleanValue |
isPassive
IsPassive attribute. |
private NameIDPolicy |
nameIDPolicy
NameIDPolicy child element. |
private String |
protocolBinding
ProtocolBinding attribute. |
private String |
providerName
ProviderName attribute. |
private RequestedAuthnContext |
requestedAuthnContext
RequestedAuthnContext child element. |
private Scoping |
scoping
Scoping child element. |
private Subject |
subject
Subject child element. |
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(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor. |
Method Summary | |
---|---|
Integer |
getAssertionConsumerServiceIndex()
Gets the index of the particular Assertion Consumer Service to which the response to this request should be delivered. |
String |
getAssertionConsumerServiceURL()
Gets the URL of the particular Assertion Consumer Service to which the response to this request should be delivered. |
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. |
List<XMLObject> |
getOrderedChildren()
|
String |
getProtocolBinding()
Gets the protocol binding URI for the request. |
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. |
Boolean |
isForceAuthn()
Gets whether the IdP should force the user to reauthenticate. |
XSBooleanValue |
isForceAuthnXSBoolean()
Gets whether the IdP should force the user to reauthenticate. |
Boolean |
isPassive()
Gets whether the IdP should refrain from interacting with the user during the authentication process. |
XSBooleanValue |
isPassiveXSBoolean()
Gets whether the IdP should refrain from interacting with the user during the authentication process. |
void |
setAssertionConsumerServiceIndex(Integer newAssertionConsumerServiceIndex)
Sets the index of the particular Assertion Consumer Service to which the response to this request should be delivered. |
void |
setAssertionConsumerServiceURL(String newAssertionConsumerServiceURL)
Sets the URL of the particular Assertion Consumer Service to which the response to this request should be delivered. |
void |
setAttributeConsumingServiceIndex(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(Boolean newForceAuth)
Sets whether the IdP should force the user to reauthenticate. |
void |
setForceAuthn(XSBooleanValue newForceAuthn)
Sets whether the IdP should force the user to reauthenticate. |
void |
setIsPassive(Boolean newIsPassive)
Sets whether the IdP should refrain from interacting with the user during the authentication process. |
void |
setIsPassive(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(String newProtocolBinding)
Sets the protocol binding URI for the request. |
void |
setProviderName(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 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, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation |
Field Detail |
---|
private Subject subject
private NameIDPolicy nameIDPolicy
private Conditions conditions
private RequestedAuthnContext requestedAuthnContext
private Scoping scoping
private XSBooleanValue forceAuthn
private XSBooleanValue isPassive
private String protocolBinding
private Integer assertionConsumerServiceIndex
private String assertionConsumerServiceURL
private Integer attributeConsumingServiceIndex
private String providerName
Constructor Detail |
---|
protected AuthnRequestImpl(String namespaceURI, String elementLocalName, 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 Boolean isForceAuthn()
isForceAuthn
in interface AuthnRequest
public XSBooleanValue isForceAuthnXSBoolean()
isForceAuthnXSBoolean
in interface AuthnRequest
public void setForceAuthn(Boolean newForceAuth)
setForceAuthn
in interface AuthnRequest
newForceAuth
- whether the IdP should force the user to reauthenticatepublic void setForceAuthn(XSBooleanValue newForceAuthn)
setForceAuthn
in interface AuthnRequest
newForceAuthn
- whether the IdP should force the user to reauthenticatepublic Boolean isPassive()
isPassive
in interface AuthnRequest
public XSBooleanValue isPassiveXSBoolean()
isPassiveXSBoolean
in interface AuthnRequest
public void setIsPassive(Boolean newIsPassive)
setIsPassive
in interface AuthnRequest
newIsPassive
- whether the IdP should refrain from interacting with the user during the authentication
processpublic void setIsPassive(XSBooleanValue newIsPassive)
setIsPassive
in interface AuthnRequest
newIsPassive
- whether the IdP should refrain from interacting with the user during the authentication
processpublic String getProtocolBinding()
getProtocolBinding
in interface AuthnRequest
public void setProtocolBinding(String newProtocolBinding)
setProtocolBinding
in interface AuthnRequest
newProtocolBinding
- the new value of the ProtocolBinding attributepublic Integer getAssertionConsumerServiceIndex()
getAssertionConsumerServiceIndex
in interface AuthnRequest
public void setAssertionConsumerServiceIndex(Integer newAssertionConsumerServiceIndex)
setAssertionConsumerServiceIndex
in interface AuthnRequest
newAssertionConsumerServiceIndex
- the new value of the AssertionConsumerServiceIndex attributepublic String getAssertionConsumerServiceURL()
getAssertionConsumerServiceURL
in interface AuthnRequest
public void setAssertionConsumerServiceURL(String newAssertionConsumerServiceURL)
setAssertionConsumerServiceURL
in interface AuthnRequest
newAssertionConsumerServiceURL
- the new value of the AssertionConsumerServiceURL attributepublic Integer getAttributeConsumingServiceIndex()
Response
message.
getAttributeConsumingServiceIndex
in interface AuthnRequest
public void setAttributeConsumingServiceIndex(Integer newAttributeConsumingServiceIndex)
Response
message.
setAttributeConsumingServiceIndex
in interface AuthnRequest
newAttributeConsumingServiceIndex
- the new value of the AttributeConsumingServiceIndex attributepublic String getProviderName()
getProviderName
in interface AuthnRequest
public void setProviderName(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 List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
getOrderedChildren
in class RequestAbstractTypeImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |