Class SAMLAuthnContext

java.lang.Object
org.opensaml.messaging.context.BaseContext
net.shibboleth.idp.saml.saml2.profile.impl.SAMLAuthnContext
All Implemented Interfaces:
Iterable<BaseContext>

public class SAMLAuthnContext
extends BaseContext
Manages state during proxied SAML authentication.
Since:
4.0.0
  • Field Details

    • outboundMessageHandler

      @Nullable private MessageHandler outboundMessageHandler
      Outbound message handler to run prior to encoding.
    • encodeMessageAction

      @Nonnull private ProfileAction encodeMessageAction
      Profile action to execute to produce outbound message response.
    • decoderFactory

      @Nonnull private Function<String,​MessageDecoder> decoderFactory
      The function to use to obtain a decoder.
    • subject

      @Nullable private Subject subject
      Subject of assertion used to authenticate.
    • authnStatement

      @Nullable private AuthnStatement authnStatement
      Authentication statement.
  • Constructor Details

    • SAMLAuthnContext

      public SAMLAuthnContext​(@Nonnull ProfileAction action, @Nonnull Function<String,​MessageDecoder> factory)
      Constructor.
      Parameters:
      action - message-encoding profile action
      factory - factory function to obtain decoders
  • Method Details