Class ExtractActiveAuthenticationResults

    • Field Detail

      • log

        @Nonnull
        private final org.slf4j.Logger log
        Class logger.
      • session

        @Nullable
        private IdPSession session
        Session to copy results from.
    • Constructor Detail

      • ExtractActiveAuthenticationResults

        public ExtractActiveAuthenticationResults()
        Constructor.
    • Method Detail

      • setSessionContextLookupStrategy

        public void setSessionContextLookupStrategy​(@Nonnull
                                                    Function<ProfileRequestContext,​SessionContext> strategy)
        Set the lookup strategy for the SessionContext to access.
        Parameters:
        strategy - lookup strategy
      • doPreExecute

        protected boolean doPreExecute​(@Nonnull
                                       ProfileRequestContext profileRequestContext,
                                       @Nonnull
                                       AuthenticationContext authenticationContext)
        Performs this authentication action's pre-execute step. Default implementation just returns true.
        Overrides:
        doPreExecute in class AbstractAuthenticationAction
        Parameters:
        profileRequestContext - the current IdP profile request context
        authenticationContext - the current authentication context
        Returns:
        true iff execution should continue
      • doExecute

        protected void doExecute​(@Nonnull
                                 ProfileRequestContext profileRequestContext,
                                 @Nonnull
                                 AuthenticationContext authenticationContext)
        Performs this authentication action. Default implementation throws an exception.
        Overrides:
        doExecute in class AbstractAuthenticationAction
        Parameters:
        profileRequestContext - the current IdP profile request context
        authenticationContext - the current authentication context