Class AuthnRequestType
- java.lang.Object
-
- org.keycloak.dom.saml.common.CommonRequestAbstractType
-
- org.keycloak.dom.saml.v2.protocol.RequestAbstractType
-
- org.keycloak.dom.saml.v2.protocol.AuthnRequestType
-
- All Implemented Interfaces:
Serializable,SAML2Object
public class AuthnRequestType extends RequestAbstractType
Java class for AuthnRequestType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AuthnRequestType"> <complexContent> <extension base="{urn:oasis:names:tc:SAML:2.0:protocol}RequestAbstractType"> <sequence> <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Subject" minOccurs="0"/> <element ref="{urn:oasis:names:tc:SAML:2.0:protocol}NameIDPolicy" minOccurs="0"/> <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Conditions" minOccurs="0"/> <element ref="{urn:oasis:names:tc:SAML:2.0:protocol}RequestedAuthnContext" minOccurs="0"/> <element ref="{urn:oasis:names:tc:SAML:2.0:protocol}Scoping" minOccurs="0"/> </sequence> <attribute name="ForceAuthn" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="IsPassive" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="ProtocolBinding" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <attribute name="AssertionConsumerServiceIndex" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> <attribute name="AssertionConsumerServiceURL" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <attribute name="AttributeConsumingServiceIndex" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" /> <attribute name="ProviderName" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected IntegerassertionConsumerServiceIndexprotected URIassertionConsumerServiceURLprotected IntegerattributeConsumingServiceIndexprotected ConditionsTypeconditionsprotected BooleanforceAuthnprotected BooleanisPassiveprotected NameIDPolicyTypenameIDPolicyprotected URIprotocolBindingprotected StringproviderNameprotected RequestedAuthnContextTyperequestedAuthnContextprotected ScopingTypescopingprotected SubjectTypesubject-
Fields inherited from class org.keycloak.dom.saml.v2.protocol.RequestAbstractType
consent, destination, extensions, issuer, version
-
Fields inherited from class org.keycloak.dom.saml.common.CommonRequestAbstractType
id, issueInstant, signature
-
-
Constructor Summary
Constructors Constructor Description AuthnRequestType(String id, XMLGregorianCalendar instant)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetAssertionConsumerServiceIndex()Gets the value of the assertionConsumerServiceIndex property.URIgetAssertionConsumerServiceURL()Gets the value of the assertionConsumerServiceURL property.IntegergetAttributeConsumingServiceIndex()Gets the value of the attributeConsumingServiceIndex property.ConditionsTypegetConditions()Gets the value of the conditions property.NameIDPolicyTypegetNameIDPolicy()Gets the value of the nameIDPolicy property.URIgetProtocolBinding()Gets the value of the protocolBinding property.StringgetProviderName()Gets the value of the providerName property.RequestedAuthnContextTypegetRequestedAuthnContext()Gets the value of the requestedAuthnContext property.ScopingTypegetScoping()Gets the value of the scoping property.URIgetSenderURL()SubjectTypegetSubject()Gets the value of the subject property.BooleanisForceAuthn()Gets the value of the forceAuthn property.BooleanisIsPassive()Gets the value of the isPassive property.voidsetAssertionConsumerServiceIndex(Integer value)Sets the value of the assertionConsumerServiceIndex property.voidsetAssertionConsumerServiceURL(URI value)Sets the value of the assertionConsumerServiceURL property.voidsetAttributeConsumingServiceIndex(Integer value)Sets the value of the attributeConsumingServiceIndex property.voidsetConditions(ConditionsType value)Sets the value of the conditions property.voidsetForceAuthn(Boolean value)Sets the value of the forceAuthn property.voidsetIsPassive(Boolean value)Sets the value of the isPassive property.voidsetNameIDPolicy(NameIDPolicyType value)Sets the value of the nameIDPolicy property.voidsetProtocolBinding(URI value)Sets the value of the protocolBinding property.voidsetProviderName(String value)Sets the value of the providerName property.voidsetRequestedAuthnContext(RequestedAuthnContextType value)Sets the value of the requestedAuthnContext property.voidsetScoping(ScopingType value)Sets the value of the scoping property.voidsetSubject(SubjectType value)Sets the value of the subject property.-
Methods inherited from class org.keycloak.dom.saml.v2.protocol.RequestAbstractType
getConsent, getDestination, getExtensions, getIssuer, getVersion, setConsent, setDestination, setExtensions, setIssuer
-
Methods inherited from class org.keycloak.dom.saml.common.CommonRequestAbstractType
getID, getIssueInstant, getSignature, setSignature
-
-
-
-
Field Detail
-
subject
protected SubjectType subject
-
nameIDPolicy
protected NameIDPolicyType nameIDPolicy
-
conditions
protected ConditionsType conditions
-
requestedAuthnContext
protected RequestedAuthnContextType requestedAuthnContext
-
scoping
protected ScopingType scoping
-
forceAuthn
protected Boolean forceAuthn
-
isPassive
protected Boolean isPassive
-
protocolBinding
protected URI protocolBinding
-
assertionConsumerServiceIndex
protected Integer assertionConsumerServiceIndex
-
assertionConsumerServiceURL
protected URI assertionConsumerServiceURL
-
attributeConsumingServiceIndex
protected Integer attributeConsumingServiceIndex
-
providerName
protected String providerName
-
-
Constructor Detail
-
AuthnRequestType
public AuthnRequestType(String id, XMLGregorianCalendar instant)
-
-
Method Detail
-
getSubject
public SubjectType getSubject()
Gets the value of the subject property.- Returns:
- possible object is
SubjectType
-
setSubject
public void setSubject(SubjectType value)
Sets the value of the subject property.- Parameters:
value- allowed object isSubjectType
-
getNameIDPolicy
public NameIDPolicyType getNameIDPolicy()
Gets the value of the nameIDPolicy property.- Returns:
- possible object is
NameIDPolicyType
-
setNameIDPolicy
public void setNameIDPolicy(NameIDPolicyType value)
Sets the value of the nameIDPolicy property.- Parameters:
value- allowed object isNameIDPolicyType
-
getConditions
public ConditionsType getConditions()
Gets the value of the conditions property.- Returns:
- possible object is
ConditionsType
-
setConditions
public void setConditions(ConditionsType value)
Sets the value of the conditions property.- Parameters:
value- allowed object isConditionsType
-
getRequestedAuthnContext
public RequestedAuthnContextType getRequestedAuthnContext()
Gets the value of the requestedAuthnContext property.- Returns:
- possible object is
RequestedAuthnContextType
-
setRequestedAuthnContext
public void setRequestedAuthnContext(RequestedAuthnContextType value)
Sets the value of the requestedAuthnContext property.- Parameters:
value- allowed object isRequestedAuthnContextType
-
getScoping
public ScopingType getScoping()
Gets the value of the scoping property.- Returns:
- possible object is
ScopingType
-
setScoping
public void setScoping(ScopingType value)
Sets the value of the scoping property.- Parameters:
value- allowed object isScopingType
-
isForceAuthn
public Boolean isForceAuthn()
Gets the value of the forceAuthn property.- Returns:
- possible object is
Boolean
-
setForceAuthn
public void setForceAuthn(Boolean value)
Sets the value of the forceAuthn property.- Parameters:
value- allowed object isBoolean
-
isIsPassive
public Boolean isIsPassive()
Gets the value of the isPassive property.- Returns:
- possible object is
Boolean
-
setIsPassive
public void setIsPassive(Boolean value)
Sets the value of the isPassive property.- Parameters:
value- allowed object isBoolean
-
getProtocolBinding
public URI getProtocolBinding()
Gets the value of the protocolBinding property.- Returns:
- possible object is
String
-
setProtocolBinding
public void setProtocolBinding(URI value)
Sets the value of the protocolBinding property.- Parameters:
value- allowed object isString
-
getAssertionConsumerServiceIndex
public Integer getAssertionConsumerServiceIndex()
Gets the value of the assertionConsumerServiceIndex property.- Returns:
- possible object is
Integer
-
setAssertionConsumerServiceIndex
public void setAssertionConsumerServiceIndex(Integer value)
Sets the value of the assertionConsumerServiceIndex property.- Parameters:
value- allowed object isInteger
-
getAssertionConsumerServiceURL
public URI getAssertionConsumerServiceURL()
Gets the value of the assertionConsumerServiceURL property.- Returns:
- possible object is
String
-
setAssertionConsumerServiceURL
public void setAssertionConsumerServiceURL(URI value)
Sets the value of the assertionConsumerServiceURL property.- Parameters:
value- allowed object isString
-
getAttributeConsumingServiceIndex
public Integer getAttributeConsumingServiceIndex()
Gets the value of the attributeConsumingServiceIndex property.- Returns:
- possible object is
Integer
-
setAttributeConsumingServiceIndex
public void setAttributeConsumingServiceIndex(Integer value)
Sets the value of the attributeConsumingServiceIndex property.- Parameters:
value- allowed object isInteger
-
getProviderName
public String getProviderName()
Gets the value of the providerName property.- Returns:
- possible object is
String
-
setProviderName
public void setProviderName(String value)
Sets the value of the providerName property.- Parameters:
value- allowed object isString
-
getSenderURL
public URI getSenderURL()
-
-