Class SAMLContext

java.lang.Object
org.opensaml.messaging.context.BaseContext
net.shibboleth.idp.saml.authn.context.SAMLContext
All Implemented Interfaces:
Iterable<BaseContext>

public final class SAMLContext extends BaseContext
Context, usually attached to AuthenticationContext, that carries a SAML Assertion to be validated.
  • Field Details

    • assertion

      @Nullable private Assertion assertion
      The assertion to be validated.
  • Constructor Details

    • SAMLContext

      public SAMLContext()
  • Method Details

    • getAssertion

      @Nullable public Assertion getAssertion()
      Gets the assertion to be validated.
      Returns:
      the assertion to be validated
    • setAssertion

      @Nonnull public SAMLContext setAssertion(@Nullable Assertion newAssertion)
      Sets the assertion to be validated.
      Parameters:
      newAssertion - assertion to be validated
      Returns:
      this context