Class ValidateDuoResponseState

    • Field Detail

      • log

        @Nonnull
        @NotEmpty
        private final org.slf4j.Logger log
        Class logger.
    • Constructor Detail

      • ValidateDuoResponseState

        public ValidateDuoResponseState()
    • Method Detail

      • doExecute

        protected void doExecute​(@Nonnull
                                 ProfileRequestContext profileRequestContext,
                                 @Nonnull
                                 AuthenticationContext authenticationContext,
                                 @Nonnull
                                 DuoOIDCAuthenticationContext duoContext)
        Performs this Duo authentication action using the supplied Duo context. Implementations should override this method.
        Overrides:
        doExecute in class AbstractDuoAuthenticationAction
        Parameters:
        profileRequestContext - the current IdP profile request context
        authenticationContext - the current authentication context
        duoContext - the Duo authentication context
      • blankState

        private void blankState​(@Nonnull
                                DuoOIDCAuthenticationContext context)
        Set the request and response states to null so they can't be reused. There is no control on how long they persist in-memory.
        Parameters:
        context - the duo context.