com.sun.identity.saml2.assertion
インタフェース AuthnStatement

すべてのスーパーインタフェース:
Statement

public interface AuthnStatement
extends Statement

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>
 


メソッドの概要
 AuthnContext getAuthnContext()
          Returns the value of the AuthnContext property.
 Date getAuthnInstant()
          Returns the value of the AuthnInstant attribute.
 String getSessionIndex()
          Returns the value of the SessionIndex attribute.
 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(Date value)
          Sets the value of the AuthnInstant attribute.
 void setSessionIndex(String value)
          Sets the value of the SessionIndex attribute.
 void setSessionNotOnOrAfter(Date value)
          Sets the value of the SessionNotOnOrAfter attribute.
 void setSubjectLocality(SubjectLocality value)
          Sets the value of the SubjectLocality property.
 
インタフェース com.sun.identity.saml2.assertion.Statement から継承されたメソッド
isMutable, makeImmutable, toXMLString, toXMLString
 

メソッドの詳細

getAuthnContext

AuthnContext getAuthnContext()
Returns the value of the AuthnContext property.

戻り値:
AuthnContext of the statement.
関連項目:
AuthnStatement.setAuthnContext(AuthnContext)

setAuthnContext

void setAuthnContext(AuthnContext value)
                     throws SAML2Exception
Sets the value of the AuthnContext property.

パラメータ:
value - new AuthnContext.
例外:
SAML2Exception - if the object is immutable.
関連項目:
AuthnStatement.getAuthnContext()

getAuthnInstant

Date getAuthnInstant()
Returns the value of the AuthnInstant attribute.

戻り値:
the value of the AuthnInstant attribute.
関連項目:
AuthnStatement.setAuthnInstant(Date)

setAuthnInstant

void setAuthnInstant(Date value)
                     throws SAML2Exception
Sets the value of the AuthnInstant attribute.

パラメータ:
value - new value of AuthnInstant attribute.
例外:
SAML2Exception - if the object is immutable.
関連項目:
AuthnStatement.getAuthnInstant()

getSubjectLocality

SubjectLocality getSubjectLocality()
Returns the value of the SubjectLocality property.

戻り値:
SubjectLocality of the statement.
関連項目:
AuthnStatement.setSubjectLocality(SubjectLocality)

setSubjectLocality

void setSubjectLocality(SubjectLocality value)
                        throws SAML2Exception
Sets the value of the SubjectLocality property.

パラメータ:
value - the new value of SubjectLocality.
例外:
SAML2Exception - if the object is immutable.
関連項目:
AuthnStatement.getSubjectLocality()

getSessionIndex

String getSessionIndex()
Returns the value of the SessionIndex attribute.

戻り値:
the value of the SessionIndex attribute.
関連項目:
AuthnStatement.setSessionIndex(String)

setSessionIndex

void setSessionIndex(String value)
                     throws SAML2Exception
Sets the value of the SessionIndex attribute.

パラメータ:
value - new value of SessionIndex attribute.
例外:
SAML2Exception - if the object is immutable.
関連項目:
AuthnStatement.getSessionIndex()

getSessionNotOnOrAfter

Date getSessionNotOnOrAfter()
Returns the value of the SessionNotOnOrAfter attribute.

戻り値:
the value of SessionNotOnOrAfter attribute.
関連項目:
AuthnStatement.setSessionNotOnOrAfter(Date)

setSessionNotOnOrAfter

void setSessionNotOnOrAfter(Date value)
                            throws SAML2Exception
Sets the value of the SessionNotOnOrAfter attribute.

パラメータ:
value - new SessionNotOnOrAfter attribute.
例外:
SAML2Exception - if the object is immutable.
関連項目:
AuthnStatement.getSessionNotOnOrAfter()