Class SAMLAuthnContext

  • All Implemented Interfaces:
    Iterable<BaseContext>

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

      • 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.
      • subject

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

        @Nullable
        private AuthnStatement authnStatement
        Authentication statement.
    • Constructor Detail

      • SAMLAuthnContext

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