Class LibertySSOSContext

  • All Implemented Interfaces:
    Iterable<BaseContext>

    public class LibertySSOSContext
    extends BaseContext
    Context for storing information related to the Liberty SSOS profile and use of an inbound delegated Assertion token.
    • Field Detail

      • attestedToken

        private Assertion attestedToken
        The SAML 2 Assertion which serves as the authentication token for the AuthnRequest and has been successfully attested by the AuthnRequest presenter.
      • attestedSubjectConfirmationMethod

        private String attestedSubjectConfirmationMethod
        Get the confirmation method that was successfully used by the attesting entity.
    • Constructor Detail

      • LibertySSOSContext

        public LibertySSOSContext()
    • Method Detail

      • getAttestedToken

        public Assertion getAttestedToken()
        Get the SAML 2 Assertion which serves as the authentication token for the AuthnRequest and which has been successfully attested by the AuthnRequest presenter.
        Returns:
        Returns the attestedToken.
      • setAttestedToken

        public void setAttestedToken​(Assertion newAttestedToken)
        Set the SAML 2 Assertion which serves as the authentication token for the AuthnRequest and which has been successfully attested by the AuthnRequest presenter.
        Parameters:
        newAttestedToken - The attestedToken to set.
      • getAttestedSubjectConfirmationMethod

        public String getAttestedSubjectConfirmationMethod()
        Get the SAML 2 SubjectConfirmation method which was used by the presenter in the attestation of the authentication token.
        Returns:
        Returns the attestedSubjectConfirmationMethod.
      • setAttestedSubjectConfirmationMethod

        public void setAttestedSubjectConfirmationMethod​(String newAttestedSubjectConfirmationMethod)
        Set the SAML 2 SubjectConfirmation method which was used by the presenter in the attestation of the authentication token.
        Parameters:
        newAttestedSubjectConfirmationMethod - The attestedSubjectConfirmationMethod to set.