|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The AuthnStatement
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 type
AuthnStatementType
.
<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 | |
AuthnContext |
getAuthnContext()
Returns the value of the AuthnContext property. |
java.util.Date |
getAuthnInstant()
Returns the value of the AuthnInstant attribute. |
java.lang.String |
getSessionIndex()
Returns the value of the SessionIndex attribute. |
java.util.Date |
getSessionNotOnOrAfter()
Returns the value of the SessionNotOnOrAfter attribute. |
SubjectLocality |
getSubjectLocality()
Returns the value of the SubjectLocality property. |
void |
setAuthnContext(AuthnContext value)
Sets the value of the AuthnContext property. |
void |
setAuthnInstant(java.util.Date value)
Sets the value of the AuthnInstant attribute. |
void |
setSessionIndex(java.lang.String value)
Sets the value of the SessionIndex attribute. |
void |
setSessionNotOnOrAfter(java.util.Date value)
Sets the value of the SessionNotOnOrAfter attribute. |
void |
setSubjectLocality(SubjectLocality value)
Sets the value of the SubjectLocality property. |
Methods inherited from interface com.sun.identity.saml2.assertion.Statement |
isMutable, makeImmutable, toXMLString, toXMLString |
Method Detail |
public AuthnContext getAuthnContext()
AuthnContext
property.
AuthnContext
of the statement.setAuthnContext(AuthnContext)
public void setAuthnContext(AuthnContext value) throws SAML2Exception
AuthnContext
property.
value
- new AuthnContext
.
SAML2Exception
- if the object is immutable.getAuthnContext()
public java.util.Date getAuthnInstant()
AuthnInstant
attribute.
AuthnInstant
attribute.setAuthnInstant(Date)
public void setAuthnInstant(java.util.Date value) throws SAML2Exception
AuthnInstant
attribute.
value
- new value of AuthnInstant
attribute.
SAML2Exception
- if the object is immutable.getAuthnInstant()
public SubjectLocality getSubjectLocality()
SubjectLocality
property.
SubjectLocality
of the statement.setSubjectLocality(SubjectLocality)
public void setSubjectLocality(SubjectLocality value) throws SAML2Exception
SubjectLocality
property.
value
- the new value of SubjectLocality
.
SAML2Exception
- if the object is immutable.getSubjectLocality()
public java.lang.String getSessionIndex()
SessionIndex
attribute.
SessionIndex
attribute.setSessionIndex(String)
public void setSessionIndex(java.lang.String value) throws SAML2Exception
SessionIndex
attribute.
value
- new value of SessionIndex
attribute.
SAML2Exception
- if the object is immutable.getSessionIndex()
public java.util.Date getSessionNotOnOrAfter()
SessionNotOnOrAfter
attribute.
SessionNotOnOrAfter
attribute.setSessionNotOnOrAfter(Date)
public void setSessionNotOnOrAfter(java.util.Date value) throws SAML2Exception
SessionNotOnOrAfter
attribute.
value
- new SessionNotOnOrAfter
attribute.
SAML2Exception
- if the object is immutable.getSessionNotOnOrAfter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |