Package com.sun.identity.saml2.assertion
Interface AuthnStatement
-
- All Superinterfaces:
Statement
- All Known Implementing Classes:
AuthnStatementImpl
public interface AuthnStatement extends Statement
TheAuthnStatementelement 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 AuthnContextgetAuthnContext()Returns the value of theAuthnContextproperty.DategetAuthnInstant()Returns the value of theAuthnInstantattribute.StringgetSessionIndex()Returns the value of theSessionIndexattribute.DategetSessionNotOnOrAfter()Returns the value of theSessionNotOnOrAfterattribute.SubjectLocalitygetSubjectLocality()Returns the value of theSubjectLocalityproperty.voidsetAuthnContext(AuthnContext value)Sets the value of theAuthnContextproperty.voidsetAuthnInstant(Date value)Sets the value of theAuthnInstantattribute.voidsetSessionIndex(String value)Sets the value of theSessionIndexattribute.voidsetSessionNotOnOrAfter(Date value)Sets the value of theSessionNotOnOrAfterattribute.voidsetSubjectLocality(SubjectLocality value)Sets the value of theSubjectLocalityproperty.-
Methods inherited from interface com.sun.identity.saml2.assertion.Statement
isMutable, makeImmutable, toXMLString, toXMLString
-
-
-
-
Method Detail
-
getAuthnContext
AuthnContext getAuthnContext()
Returns the value of theAuthnContextproperty.- Returns:
AuthnContextof the statement.- See Also:
setAuthnContext(AuthnContext)
-
setAuthnContext
void setAuthnContext(AuthnContext value) throws SAML2Exception
Sets the value of theAuthnContextproperty.- Parameters:
value- newAuthnContext.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getAuthnContext()
-
getAuthnInstant
Date getAuthnInstant()
Returns the value of theAuthnInstantattribute.- Returns:
- the value of the
AuthnInstantattribute. - See Also:
setAuthnInstant(Date)
-
setAuthnInstant
void setAuthnInstant(Date value) throws SAML2Exception
Sets the value of theAuthnInstantattribute.- Parameters:
value- new value ofAuthnInstantattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getAuthnInstant()
-
getSubjectLocality
SubjectLocality getSubjectLocality()
Returns the value of theSubjectLocalityproperty.- Returns:
SubjectLocalityof the statement.- See Also:
setSubjectLocality(SubjectLocality)
-
setSubjectLocality
void setSubjectLocality(SubjectLocality value) throws SAML2Exception
Sets the value of theSubjectLocalityproperty.- Parameters:
value- the new value ofSubjectLocality.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getSubjectLocality()
-
getSessionIndex
String getSessionIndex()
Returns the value of theSessionIndexattribute.- Returns:
- the value of the
SessionIndexattribute. - See Also:
setSessionIndex(String)
-
setSessionIndex
void setSessionIndex(String value) throws SAML2Exception
Sets the value of theSessionIndexattribute.- Parameters:
value- new value ofSessionIndexattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getSessionIndex()
-
getSessionNotOnOrAfter
Date getSessionNotOnOrAfter()
Returns the value of theSessionNotOnOrAfterattribute.- Returns:
- the value of
SessionNotOnOrAfterattribute. - See Also:
setSessionNotOnOrAfter(Date)
-
setSessionNotOnOrAfter
void setSessionNotOnOrAfter(Date value) throws SAML2Exception
Sets the value of theSessionNotOnOrAfterattribute.- Parameters:
value- newSessionNotOnOrAfterattribute.- Throws:
SAML2Exception- if the object is immutable.- See Also:
getSessionNotOnOrAfter()
-
-