Class AuthnStatementType
- java.lang.Object
-
- org.keycloak.dom.saml.v2.assertion.StatementAbstractType
-
- org.keycloak.dom.saml.v2.assertion.AuthnStatementType
-
- All Implemented Interfaces:
Serializable
public class AuthnStatementType extends StatementAbstractType
Java class for AuthnStatementType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AuthnStatementType"> <complexContent> <extension base="{urn:oasis:names:tc:SAML:2.0:assertion}StatementAbstractType"> <sequence> <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}SubjectLocality" minOccurs="0"/> <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AuthnContext"/> </sequence> <attribute name="AuthnInstant" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="SessionIndex" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="SessionNotOnOrAfter" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AuthnContextTypeauthnContextprotected XMLGregorianCalendarauthnInstantprotected StringsessionIndexprotected XMLGregorianCalendarsessionNotOnOrAfterprotected SubjectLocalityTypesubjectLocality
-
Constructor Summary
Constructors Constructor Description AuthnStatementType(XMLGregorianCalendar instant)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthnContextTypegetAuthnContext()Gets the value of the authnContext property.XMLGregorianCalendargetAuthnInstant()Gets the value of the authnInstant property.StringgetSessionIndex()Gets the value of the sessionIndex property.XMLGregorianCalendargetSessionNotOnOrAfter()Gets the value of the sessionNotOnOrAfter property.SubjectLocalityTypegetSubjectLocality()Gets the value of the subjectLocality property.voidsetAuthnContext(AuthnContextType value)Sets the value of the authnContext property.voidsetSessionIndex(String value)Sets the value of the sessionIndex property.voidsetSessionNotOnOrAfter(XMLGregorianCalendar value)Sets the value of the sessionNotOnOrAfter property.voidsetSubjectLocality(SubjectLocalityType value)Sets the value of the subjectLocality property.
-
-
-
Field Detail
-
subjectLocality
protected SubjectLocalityType subjectLocality
-
authnContext
protected AuthnContextType authnContext
-
authnInstant
protected XMLGregorianCalendar authnInstant
-
sessionNotOnOrAfter
protected XMLGregorianCalendar sessionNotOnOrAfter
-
sessionIndex
protected String sessionIndex
-
-
Constructor Detail
-
AuthnStatementType
public AuthnStatementType(XMLGregorianCalendar instant)
-
-
Method Detail
-
getSubjectLocality
public SubjectLocalityType getSubjectLocality()
Gets the value of the subjectLocality property.- Returns:
- possible object is
SubjectLocalityType
-
setSubjectLocality
public void setSubjectLocality(SubjectLocalityType value)
Sets the value of the subjectLocality property.- Parameters:
value- allowed object isSubjectLocalityType
-
getAuthnContext
public AuthnContextType getAuthnContext()
Gets the value of the authnContext property.- Returns:
- possible object is
AuthnContextType
-
setAuthnContext
public void setAuthnContext(AuthnContextType value)
Sets the value of the authnContext property.- Parameters:
value- allowed object isAuthnContextType
-
getAuthnInstant
public XMLGregorianCalendar getAuthnInstant()
Gets the value of the authnInstant property.- Returns:
- possible object is
XMLGregorianCalendar
-
getSessionIndex
public String getSessionIndex()
Gets the value of the sessionIndex property.- Returns:
- possible object is
String
-
setSessionIndex
public void setSessionIndex(String value)
Sets the value of the sessionIndex property.- Parameters:
value- allowed object isString
-
getSessionNotOnOrAfter
public XMLGregorianCalendar getSessionNotOnOrAfter()
Gets the value of the sessionNotOnOrAfter property.- Returns:
- possible object is
XMLGregorianCalendar
-
setSessionNotOnOrAfter
public void setSessionNotOnOrAfter(XMLGregorianCalendar value)
Sets the value of the sessionNotOnOrAfter property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
-