Package org.apereo.cas.web.flow
Class DetermineMultifactorPasswordlessAuthenticationAction
- java.lang.Object
-
- org.springframework.webflow.action.AbstractAction
-
- org.apereo.cas.web.flow.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
-
-
Constructor Summary
Constructors Constructor Description DetermineMultifactorPasswordlessAuthenticationAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.webflow.execution.EventdoExecute(org.springframework.webflow.execution.RequestContext requestContext)protected voidpopulateContextWithAuthenticationResult(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 booleanshouldActivateMultifactorAuthenticationFor(org.springframework.webflow.execution.RequestContext requestContext, org.apereo.cas.api.PasswordlessUserAccount user)Should activate multifactor authentication for user?
-
-
-
Method Detail
-
doExecute
protected org.springframework.webflow.execution.Event doExecute(org.springframework.webflow.execution.RequestContext requestContext)
- Specified by:
doExecutein classorg.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 contextauth- the authservice- 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 contextuser- the user- Returns:
- true/false
-
-