Class GenericSuccessViewAction

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

    public class GenericSuccessViewAction
    extends org.springframework.webflow.action.AbstractAction
    Action that should execute prior to rendering the generic-success login view.
    Since:
    4.1.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)  
      java.util.Optional<org.apereo.cas.authentication.Authentication> getAuthentication​(java.lang.String ticketGrantingTicketId)
      Gets authentication principal.
      • 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

      • GenericSuccessViewAction

        public GenericSuccessViewAction()
    • Method Detail

      • getAuthentication

        public java.util.Optional<org.apereo.cas.authentication.Authentication> getAuthentication​(java.lang.String ticketGrantingTicketId)
        Gets authentication principal.
        Parameters:
        ticketGrantingTicketId - the ticket granting ticket id
        Returns:
        the authentication principal, or NullPrincipal if none was available.
      • doExecute

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