Package com.sun.identity.saml2.assertion
Interface AuthnStatement
-
- All Superinterfaces:
Statement
,XmlSerializable
@SupportedAll public interface AuthnStatement extends Statement
TheAuthnStatement
element describes a statement by the SAML authority asserting that the assertion subject was authenticated by a particular means at a particular time. It is of typeAuthnStatementType
.<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>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthnContext
getAuthnContext()
Returns the value of theAuthnContext
property.Date
getAuthnInstant()
Returns the value of theAuthnInstant
attribute.String
getSessionIndex()
Returns the value of theSessionIndex
attribute.Date
getSessionNotOnOrAfter()
Returns the value of theSessionNotOnOrAfter
attribute.SubjectLocality
getSubjectLocality()
Returns the value of theSubjectLocality
property.void
setAuthnContext(AuthnContext value)
Sets the value of theAuthnContext
property.void
setAuthnInstant(Date value)
Sets the value of theAuthnInstant
attribute.void
setSessionIndex(String value)
Sets the value of theSessionIndex
attribute.void
setSessionNotOnOrAfter(Date value)
Sets the value of theSessionNotOnOrAfter
attribute.void
setSubjectLocality(SubjectLocality value)
Sets the value of theSubjectLocality
property.-
Methods inherited from interface com.sun.identity.saml2.assertion.Statement
isMutable, makeImmutable
-
Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
-
-
-
Method Detail
-
getAuthnContext
AuthnContext getAuthnContext()
Returns the value of theAuthnContext
property.- Returns:
AuthnContext
of the statement.- See Also:
setAuthnContext(AuthnContext)
-
setAuthnContext
void setAuthnContext(AuthnContext value) throws SAML2Exception
Sets the value of theAuthnContext
property.- Parameters:
value
- newAuthnContext
.- Throws:
SAML2Exception
- if the object is immutable.- See Also:
getAuthnContext()
-
getAuthnInstant
Date getAuthnInstant()
Returns the value of theAuthnInstant
attribute.- Returns:
- the value of the
AuthnInstant
attribute. - See Also:
setAuthnInstant(Date)
-
setAuthnInstant
void setAuthnInstant(Date value) throws SAML2Exception
Sets the value of theAuthnInstant
attribute.- Parameters:
value
- new value ofAuthnInstant
attribute.- Throws:
SAML2Exception
- if the object is immutable.- See Also:
getAuthnInstant()
-
getSubjectLocality
SubjectLocality getSubjectLocality()
Returns the value of theSubjectLocality
property.- Returns:
SubjectLocality
of the statement.- See Also:
setSubjectLocality(SubjectLocality)
-
setSubjectLocality
void setSubjectLocality(SubjectLocality value) throws SAML2Exception
Sets the value of theSubjectLocality
property.- Parameters:
value
- the new value ofSubjectLocality
.- Throws:
SAML2Exception
- if the object is immutable.- See Also:
getSubjectLocality()
-
getSessionIndex
String getSessionIndex()
Returns the value of theSessionIndex
attribute.- Returns:
- the value of the
SessionIndex
attribute. - See Also:
setSessionIndex(String)
-
setSessionIndex
void setSessionIndex(String value) throws SAML2Exception
Sets the value of theSessionIndex
attribute.- Parameters:
value
- new value ofSessionIndex
attribute.- Throws:
SAML2Exception
- if the object is immutable.- See Also:
getSessionIndex()
-
getSessionNotOnOrAfter
Date getSessionNotOnOrAfter()
Returns the value of theSessionNotOnOrAfter
attribute.- Returns:
- the value of
SessionNotOnOrAfter
attribute. - See Also:
setSessionNotOnOrAfter(Date)
-
setSessionNotOnOrAfter
void setSessionNotOnOrAfter(Date value) throws SAML2Exception
Sets the value of theSessionNotOnOrAfter
attribute.- Parameters:
value
- newSessionNotOnOrAfter
attribute.- Throws:
SAML2Exception
- if the object is immutable.- See Also:
getSessionNotOnOrAfter()
-
-