Class 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
    • 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
      void destroy()  
      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.Event doExecute​(org.springframework.webflow.execution.RequestContext requestContext)  
      protected boolean isDelegatedAuthenticationActiveFor​(org.springframework.webflow.execution.RequestContext requestContext, org.apereo.cas.api.PasswordlessUserAccount user)
      Should delegate 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

      • DetermineDelegatedAuthenticationAction

        public DetermineDelegatedAuthenticationAction()
    • 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
      • 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 context
        user - the user
        clients - 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 context
        user - the user
        Returns:
        true/false
      • destroy

        public void destroy()
                     throws java.lang.Exception
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        java.lang.Exception