Package org.apereo.cas.web.flow
Class DetermineDelegatedAuthenticationAction
- java.lang.Object
-
- org.springframework.webflow.action.AbstractAction
-
- org.apereo.cas.web.flow.DetermineDelegatedAuthenticationAction
-
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean,org.springframework.webflow.execution.Action
public class DetermineDelegatedAuthenticationAction extends org.springframework.webflow.action.AbstractAction implements org.springframework.beans.factory.DisposableBean- Since:
- 6.2.0
-
-
Constructor Summary
Constructors Constructor Description DetermineDelegatedAuthenticationAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()protected java.util.Optional<java.io.Serializable>determineDelegatedIdentityProviderConfiguration(org.springframework.webflow.execution.RequestContext requestContext, org.apereo.cas.api.PasswordlessUserAccount user, java.util.Set<? extends java.io.Serializable> clients)Determine delegated identity provider configuration.protected org.springframework.webflow.execution.EventdoExecute(org.springframework.webflow.execution.RequestContext requestContext)protected booleanisDelegatedAuthenticationActiveFor(org.springframework.webflow.execution.RequestContext requestContext, org.apereo.cas.api.PasswordlessUserAccount user)Should delegate authentication for user?
-
-
-
Method Detail
-
destroy
public void destroy()
- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean
-
doExecute
protected org.springframework.webflow.execution.Event doExecute(org.springframework.webflow.execution.RequestContext requestContext)
- Specified by:
doExecutein classorg.springframework.webflow.action.AbstractAction
-
determineDelegatedIdentityProviderConfiguration
protected java.util.Optional<java.io.Serializable> determineDelegatedIdentityProviderConfiguration(org.springframework.webflow.execution.RequestContext requestContext, org.apereo.cas.api.PasswordlessUserAccount user, java.util.Set<? extends java.io.Serializable> clients)Determine delegated identity provider configuration.- Parameters:
requestContext- the request contextuser- the userclients- the clients- Returns:
- the optional
-
isDelegatedAuthenticationActiveFor
protected boolean isDelegatedAuthenticationActiveFor(org.springframework.webflow.execution.RequestContext requestContext, org.apereo.cas.api.PasswordlessUserAccount user)Should delegate authentication for user?- Parameters:
requestContext- the request contextuser- the user- Returns:
- true/false
-
-