Class SAML20AssertionToken

java.lang.Object
org.opensaml.soap.wssecurity.messaging.AbstractToken<Assertion>
org.opensaml.saml.saml2.wssecurity.SAML20AssertionToken
All Implemented Interfaces:
Token<Assertion>

public class SAML20AssertionToken extends AbstractToken<Assertion>
Implementation of SAML 2.0 Assertion token.
  • Field Details

    • subjectConfirmation

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

    • SAML20AssertionToken

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

    • 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