Interface AuthnStatement

All Superinterfaces:
Statement, XmlSerializable

@SupportedAll 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>
 
  • Method Details

    • getAuthnContext

      AuthnContext getAuthnContext()
      Returns the value of the AuthnContext property.
      Returns:
      AuthnContext of the statement.
      See Also:
    • setAuthnContext

      void setAuthnContext(AuthnContext value) throws com.sun.identity.saml2.common.SAML2Exception
      Sets the value of the AuthnContext property.
      Parameters:
      value - new AuthnContext.
      Throws:
      com.sun.identity.saml2.common.SAML2Exception - if the object is immutable.
      See Also:
    • getAuthnInstant

      Date getAuthnInstant()
      Returns the value of the AuthnInstant attribute.
      Returns:
      the value of the AuthnInstant attribute.
      See Also:
    • setAuthnInstant

      void setAuthnInstant(Date value) throws com.sun.identity.saml2.common.SAML2Exception
      Sets the value of the AuthnInstant attribute.
      Parameters:
      value - new value of AuthnInstant attribute.
      Throws:
      com.sun.identity.saml2.common.SAML2Exception - if the object is immutable.
      See Also:
    • getSubjectLocality

      SubjectLocality getSubjectLocality()
      Returns the value of the SubjectLocality property.
      Returns:
      SubjectLocality of the statement.
      See Also:
    • setSubjectLocality

      void setSubjectLocality(SubjectLocality value) throws com.sun.identity.saml2.common.SAML2Exception
      Sets the value of the SubjectLocality property.
      Parameters:
      value - the new value of SubjectLocality.
      Throws:
      com.sun.identity.saml2.common.SAML2Exception - if the object is immutable.
      See Also:
    • getSessionIndex

      String getSessionIndex()
      Returns the value of the SessionIndex attribute.
      Returns:
      the value of the SessionIndex attribute.
      See Also:
    • setSessionIndex

      void setSessionIndex(String value) throws com.sun.identity.saml2.common.SAML2Exception
      Sets the value of the SessionIndex attribute.
      Parameters:
      value - new value of SessionIndex attribute.
      Throws:
      com.sun.identity.saml2.common.SAML2Exception - if the object is immutable.
      See Also:
    • getSessionNotOnOrAfter

      Date getSessionNotOnOrAfter()
      Returns the value of the SessionNotOnOrAfter attribute.
      Returns:
      the value of SessionNotOnOrAfter attribute.
      See Also:
    • setSessionNotOnOrAfter

      void setSessionNotOnOrAfter(Date value) throws com.sun.identity.saml2.common.SAML2Exception
      Sets the value of the SessionNotOnOrAfter attribute.
      Parameters:
      value - new SessionNotOnOrAfter attribute.
      Throws:
      com.sun.identity.saml2.common.SAML2Exception - if the object is immutable.
      See Also: