Class SAML20AssertionToken

  • All Implemented Interfaces:
    org.opensaml.soap.wssecurity.messaging.Token<Assertion>

    public class SAML20AssertionToken
    extends org.opensaml.soap.wssecurity.messaging.AbstractToken<Assertion>
    Implementation of SAML 2.0 Assertion token.
    • Field Detail

      • subjectConfirmation

        private SubjectConfirmation subjectConfirmation
        Get the successfully attested SubjectConfirmation.
    • Constructor Detail

      • SAML20AssertionToken

        public SAML20AssertionToken​(@Nonnull
                                    Assertion token)
        Constructor.
        Parameters:
        token - the wrapped token
    • Method Detail

      • getSubjectConfirmation

        @Nullable
        public SubjectConfirmation getSubjectConfirmation()
        Get the successfully attested SubjectConfirmation.
        Returns:
        the attested SubjectConfirmation
      • setSubjectConfirmation

        public void setSubjectConfirmation​(@Nullable
                                           SubjectConfirmation newSubjectConfirmation)
        Set the successfully attested SubjectConfirmation.
        Parameters:
        newSubjectConfirmation - the new attested SubjectConfirmation