Class DetermineMultifactorPasswordlessAuthenticationAction

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean, org.springframework.webflow.execution.Action

    public class DetermineMultifactorPasswordlessAuthenticationAction
    extends org.springframework.webflow.action.AbstractAction
    Since:
    6.2.0
    • Field Summary

      • Fields inherited from class org.springframework.webflow.action.AbstractAction

        logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.springframework.webflow.execution.Event doExecute​(org.springframework.webflow.execution.RequestContext requestContext)  
      protected void populateContextWithAuthenticationResult​(org.springframework.webflow.execution.RequestContext requestContext, org.apereo.cas.authentication.Authentication auth, org.apereo.cas.authentication.principal.WebApplicationService service)
      Populate context with authentication result.
      protected java.util.Optional<java.lang.String> resolveMultifactorAuthenticationProvider​(org.springframework.webflow.execution.RequestContext requestContext, org.apereo.cas.authentication.Authentication auth, org.apereo.cas.authentication.principal.WebApplicationService service)  
      protected boolean shouldActivateMultifactorAuthenticationFor​(org.springframework.webflow.execution.RequestContext requestContext, org.apereo.cas.api.PasswordlessUserAccount user)
      Should activate multifactor authentication for user?
      • Methods inherited from class org.springframework.webflow.action.AbstractAction

        afterPropertiesSet, doPostExecute, doPreExecute, error, error, execute, getActionNameForLogging, getEventFactorySupport, initAction, no, result, result, result, result, success, success, yes
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DetermineMultifactorPasswordlessAuthenticationAction

        public DetermineMultifactorPasswordlessAuthenticationAction()
    • Method Detail

      • doExecute

        protected org.springframework.webflow.execution.Event doExecute​(org.springframework.webflow.execution.RequestContext requestContext)
        Specified by:
        doExecute in class org.springframework.webflow.action.AbstractAction
      • populateContextWithAuthenticationResult

        protected void populateContextWithAuthenticationResult​(org.springframework.webflow.execution.RequestContext requestContext,
                                                               org.apereo.cas.authentication.Authentication auth,
                                                               org.apereo.cas.authentication.principal.WebApplicationService service)
        Populate context with authentication result.
        Parameters:
        requestContext - the request context
        auth - the auth
        service - the service
      • resolveMultifactorAuthenticationProvider

        protected java.util.Optional<java.lang.String> resolveMultifactorAuthenticationProvider​(org.springframework.webflow.execution.RequestContext requestContext,
                                                                                                org.apereo.cas.authentication.Authentication auth,
                                                                                                org.apereo.cas.authentication.principal.WebApplicationService service)
      • shouldActivateMultifactorAuthenticationFor

        protected boolean shouldActivateMultifactorAuthenticationFor​(org.springframework.webflow.execution.RequestContext requestContext,
                                                                     org.apereo.cas.api.PasswordlessUserAccount user)
        Should activate multifactor authentication for user?
        Parameters:
        requestContext - the request context
        user - the user
        Returns:
        true/false