Class ClearWebflowCredentialAction

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

    public class ClearWebflowCredentialAction
    extends org.springframework.webflow.action.AbstractAction
    This action ClearWebflowCredentialAction is invoked ONLY as an exit-action for non-interactive authn flows. Don't clear credentials when "success" occurs which leads the webflow to "createTicketGrantingTicket" but may be overridden by the AUP flow which needs credentials in some cases. Credentials need to be cleared if webflow is returning to login page where credentials without a username property will not bind correctly to the login form in the thymeleaf template.
    Since:
    5.0.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)  
      • 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

      • ClearWebflowCredentialAction

        public ClearWebflowCredentialAction()
    • 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