Class FSAuthenticationStatement


  • @Deprecated
    public class FSAuthenticationStatement
    extends AuthenticationStatement
    Deprecated.
    since 12.0.0
    The FSAuthenticationStatement element represents an authentication statement by the issuer that it's subject was authenticated by a particular means at a particular time.
    • Field Detail

      • reauthenticateOnOrAfter

        protected Date reauthenticateOnOrAfter
        Deprecated.
      • sessionIndex

        protected String sessionIndex
        Deprecated.
      • _authnContext

        protected AuthnContext _authnContext
        Deprecated.
      • minorVersion

        protected int minorVersion
        Deprecated.
    • Constructor Detail

      • FSAuthenticationStatement

        public FSAuthenticationStatement()
        Deprecated.
        Default Constructor.
      • FSAuthenticationStatement

        public FSAuthenticationStatement​(String authMethod,
                                         Date authInstant,
                                         Subject subject,
                                         AuthnContext authnContext)
                                  throws FSMsgException,
                                         SAMLException
        Deprecated.
        Constructor to create FSAuthenticationStatement object.
        Parameters:
        authMethod - the Authentication method in the statement.
        authInstant - the authentication date in the statement.
        subject - the Subject in the statement.
        authnContext - the Authentication Context.
        Throws:
        FSMsgException - if there is error creating the object.
        SAMLException - if the version is incorrect.
      • FSAuthenticationStatement

        public FSAuthenticationStatement​(String authMethod,
                                         Date authInstant,
                                         Subject subject,
                                         SubjectLocality subjectLocality,
                                         List authorityBinding,
                                         AuthnContext authnContext)
                                  throws FSMsgException,
                                         SAMLException
        Deprecated.
        Constructor for create FSAuthenticationStatement object.
        Parameters:
        authMethod - the Authentication method in the statement.
        authInstant - the authentication date in the statement.
        subject - the Subject in the statement.
        subjectLocality - the SubjectLocality in the statement.
        authorityBinding - a List of AuthorityBinding objects.
        authnContext - the Authentication Context.
        Throws:
        FSMsgException - if there is an error creating the object.
        SAMLException - on error.
      • FSAuthenticationStatement

        public FSAuthenticationStatement​(Element element)
                                  throws FSMsgException,
                                         SAMLException
        Deprecated.
        Constructs an FSAuthenticationStatement object from a Document Element.
        Parameters:
        element - the Document Element object.
        Throws:
        FSMsgException - if document element is null or required attributes cannot be retrieved from the element.
        SAMLException - on error.
    • Method Detail

      • getSessionIndex

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

        public void setSessionIndex​(String sessionIndex)
        Deprecated.
        Sets the SessionIndex attribute.
        Parameters:
        sessionIndex - the value of SessionIndex attribute.
        See Also:
        getSessionIndex()
      • getReauthenticateOnOrAfter

        public Date getReauthenticateOnOrAfter()
        Deprecated.
        Returns the re-authentication date for this authentication statement.
        Returns:
        the re-authentication date for this object.
        See Also:
        setReauthenticateOnOrAfter(java.util.Date)
      • setReauthenticateOnOrAfter

        public void setReauthenticateOnOrAfter​(Date reauthenticateOnOrAfter)
        Deprecated.
        Sets re-authentication date for this authentication statement.
        Parameters:
        reauthenticateOnOrAfter - the date object.
        See Also:
        getReauthenticateOnOrAfter()
      • getAuthnContext

        public AuthnContext getAuthnContext()
        Deprecated.
        Returns the Authentication Context in this authentication statement.
        Returns:
        the Authentication Context object.
        See Also:
        setAuthnContext(AuthnContext)
      • setAuthnContext

        public void setAuthnContext​(AuthnContext authnContext)
        Deprecated.
        Sets the Authentication Context object.
        Parameters:
        authnContext - the Authentication Context object.
        See Also:
        getAuthnContext()
      • getMinorVersion

        public int getMinorVersion()
        Deprecated.
        Returns the value of MinorVersion attribute.
        Returns:
        the value of MinorVersion attribute.
        See Also:
        setMinorVersion(int)
      • setMinorVersion

        public void setMinorVersion​(int version)
        Deprecated.
        Sets the value of MinorVersion attribute.
        Parameters:
        version - the MinorVersion attribute.
        See Also:
        getMinorVersion()
      • toXMLString

        public String toXMLString()
                           throws FSMsgException
        Deprecated.
        Returns a String representation of this object.
        Returns:
        a String representation of this Object.
        Throws:
        FSMsgException - if there is an error creating the string.
      • toXMLString

        public String toXMLString​(boolean includeNS,
                                  boolean declareNS)
                           throws FSMsgException
        Deprecated.
        Returns a String representation of this object.
        Parameters:
        includeNS - Determines whether or not the namespace qualifier is prepended to the Element when converted
        declareNS - Determines whether or not the namespace is declared within the Element.
        Returns:
        A string containing the valid XML for this object.
        Throws:
        FSMsgException - if there is an error creating the string.