Class AuthnStatementType


  • public class AuthnStatementType
    extends StatementAbstractType

    Java class for AuthnStatementType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <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>
     
    • Constructor Detail

      • AuthnStatementType

        public AuthnStatementType()
    • Method Detail

      • setSubjectLocality

        public void setSubjectLocality​(SubjectLocalityType value)
        Sets the value of the subjectLocality property.
        Parameters:
        value - allowed object is SubjectLocalityType
      • setAuthnContext

        public void setAuthnContext​(AuthnContextType value)
        Sets the value of the authnContext property.
        Parameters:
        value - allowed object is AuthnContextType
      • getSessionIndex

        public String getSessionIndex()
        Gets the value of the sessionIndex property.
        Returns:
        possible object is String
      • setSessionIndex

        public void setSessionIndex​(String value)
        Sets the value of the sessionIndex property.
        Parameters:
        value - allowed object is String
      • setSessionNotOnOrAfter

        public void setSessionNotOnOrAfter​(XMLGregorianCalendar value)
        Sets the value of the sessionNotOnOrAfter property.
        Parameters:
        value - allowed object is XMLGregorianCalendar