Class AbstractDuoAuthenticationAction

    • Constructor Detail

      • AbstractDuoAuthenticationAction

        protected AbstractDuoAuthenticationAction()
        Constructor.
    • Method Detail

      • doPreExecute

        protected final boolean doPreExecute​(@Nonnull
                                             ProfileRequestContext profileRequestContext,
                                             @Nonnull
                                             net.shibboleth.idp.authn.context.AuthenticationContext authenticationContext)
        Overrides:
        doPreExecute in class net.shibboleth.idp.authn.AbstractAuthenticationAction
      • doExecute

        protected final void doExecute​(@Nonnull
                                       ProfileRequestContext profileRequestContext,
                                       @Nonnull
                                       net.shibboleth.idp.authn.context.AuthenticationContext authenticationContext)
        Delegates to doExecute(ProfileRequestContext, AuthenticationContext, DuoOIDCAuthenticationContext) to perform the actual authentication. Implementations can not override this method.
        Overrides:
        doExecute in class net.shibboleth.idp.authn.AbstractAuthenticationAction
        Parameters:
        profileRequestContext - the current IdP profile request context
        authenticationContext - the current authentication context
      • doPreExecute

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

        protected void doExecute​(@Nonnull
                                 ProfileRequestContext profileRequestContext,
                                 @Nonnull
                                 net.shibboleth.idp.authn.context.AuthenticationContext authenticationContext,
                                 @Nonnull
                                 DuoOIDCAuthenticationContext context)
        Performs this Duo authentication action using the supplied Duo context. Implementations should override this method.
        Parameters:
        profileRequestContext - the current IdP profile request context
        authenticationContext - the current authentication context
        context - the Duo authentication context