Class AuthenticationStatementBean


  • public class AuthenticationStatementBean
    extends Object
    Class AuthenticationStatementBean represents the raw data required to create a SAML v1.1 or v2.0 authentication statement.
    • Constructor Detail

      • AuthenticationStatementBean

        public AuthenticationStatementBean()
        Default constructor
      • AuthenticationStatementBean

        public AuthenticationStatementBean​(SubjectBean subject,
                                           String authenticationMethod,
                                           Instant authenticationInstant,
                                           Instant sessionNotOnOrAfter)
        Construct a new AuthenticationStatementBean
        Parameters:
        subject - the Subject to set
        authenticationMethod - the Authentication Method to set
        authenticationInstant - the Authentication Instant to set
        sessionNotOnOrAfter - the Session NotOnOrAfter time to set
    • Method Detail

      • getSubject

        public SubjectBean getSubject()
        Get the Subject
        Returns:
        the subject
      • setSubject

        public void setSubject​(SubjectBean subject)
        Set the subject
        Parameters:
        subject - the SubjectBean instance to set
      • getAuthenticationMethod

        public String getAuthenticationMethod()
        Get the authentication method
        Returns:
        the authentication method
      • setAuthenticationMethod

        public void setAuthenticationMethod​(String authenticationMethod)
        Set the authentication method
        Parameters:
        authenticationMethod - the authentication method
      • getAuthenticationInstant

        public Instant getAuthenticationInstant()
        Get the authentication instant
        Returns:
        the authentication instant
      • setAuthenticationInstant

        public void setAuthenticationInstant​(Instant authenticationInstant)
        Set the authentication instant
        Parameters:
        authenticationInstant - the authentication instant
      • getSessionNotOnOrAfter

        public Instant getSessionNotOnOrAfter()
        Get the sessionNotOnOrAfter
        Returns:
        the sessionNotOnOrAfter
      • setSessionNotOnOrAfter

        public void setSessionNotOnOrAfter​(Instant sessionNotOnOrAfter)
        Set the sessionNotOnOrAfter
        Parameters:
        sessionNotOnOrAfter - the sessionNotOnOrAfter
      • getSubjectLocality

        public final SubjectLocalityBean getSubjectLocality()
        Get Subject Locality.
        Returns:
        the subjectLocality
      • setSubjectLocality

        public final void setSubjectLocality​(SubjectLocalityBean subjectLocality)
        Set Subject Locality.
        Parameters:
        subjectLocality - the subjectLocality to set
      • getSessionIndex

        public final String getSessionIndex()
        Get the session index.
        Returns:
        the sessionIndex
      • setSessionIndex

        public final void setSessionIndex​(String sessionIndex)
        Set the session index.
        Parameters:
        sessionIndex - the sessionIndex to set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object