Class OIDCAuthnContext

  • All Implemented Interfaces:
    Iterable<BaseContext>

    public class OIDCAuthnContext
    extends BaseContext
    Manages state during proxied OIDC authentication via a Spring Controller.
    • Field Detail

      • outboundMessageHandler

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

        @Nonnull
        private final ProfileAction encodeMessageAction
        Profile action to execute to produce outbound message response.
    • Constructor Detail

      • OIDCAuthnContext

        public OIDCAuthnContext​(@Nonnull
                                ProfileAction action,
                                @Nonnull
                                Function<String,​MessageDecoder> factory)
        Constructor.
        Parameters:
        action - message-encoding profile action
        factory - the message descoder factory
    • Method Detail

      • getEncodeMessageAction

        @Nonnull
        public ProfileAction getEncodeMessageAction()
        Get the message-encoding profile action.
        Returns:
        profile action
      • getMessageDecoderFactory

        @Nonnull
        public Function<String,​MessageDecoder> getMessageDecoderFactory()
        Get the factory function to obtain message decoders.
        Returns:
        factory function