Class AbstractLogoutAction

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.apereo.cas.web.support.ArgumentExtractor argumentExtractor
      Argument extractor.
      protected org.apereo.cas.configuration.CasConfigurationProperties casProperties
      CAS properties.
      protected org.apereo.cas.CentralAuthenticationService centralAuthenticationService
      The cas service.
      protected org.apereo.cas.logout.LogoutExecutionPlan logoutExecutionPlan
      Logout execution plan.
      protected org.apereo.cas.services.ServicesManager servicesManager
      Services manager.
      protected org.apereo.cas.web.cookie.CasCookieBuilder ticketGrantingTicketCookieGenerator
      The TGT cookie generator.
      • Fields inherited from class org.springframework.webflow.action.AbstractAction

        logger
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.webflow.execution.Event doExecute​(org.springframework.webflow.execution.RequestContext context)  
      protected abstract org.springframework.webflow.execution.Event doInternalExecute​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.webflow.execution.RequestContext context)
      Execute the logout action after invalidating the cache.
      protected void preventCaching​(javax.servlet.http.HttpServletResponse response)
      Prevent caching by adding the appropriate headers.
      • 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
    • Field Detail

      • centralAuthenticationService

        protected final org.apereo.cas.CentralAuthenticationService centralAuthenticationService
        The cas service.
      • ticketGrantingTicketCookieGenerator

        protected final org.apereo.cas.web.cookie.CasCookieBuilder ticketGrantingTicketCookieGenerator
        The TGT cookie generator.
      • argumentExtractor

        protected final org.apereo.cas.web.support.ArgumentExtractor argumentExtractor
        Argument extractor.
      • servicesManager

        protected final org.apereo.cas.services.ServicesManager servicesManager
        Services manager.
      • logoutExecutionPlan

        protected final org.apereo.cas.logout.LogoutExecutionPlan logoutExecutionPlan
        Logout execution plan.
      • casProperties

        protected final org.apereo.cas.configuration.CasConfigurationProperties casProperties
        CAS properties.
    • Constructor Detail

      • AbstractLogoutAction

        public AbstractLogoutAction()
    • Method Detail

      • doExecute

        public org.springframework.webflow.execution.Event doExecute​(org.springframework.webflow.execution.RequestContext context)
        Specified by:
        doExecute in class org.springframework.webflow.action.AbstractAction
      • doInternalExecute

        protected abstract org.springframework.webflow.execution.Event doInternalExecute​(javax.servlet.http.HttpServletRequest request,
                                                                                         javax.servlet.http.HttpServletResponse response,
                                                                                         org.springframework.webflow.execution.RequestContext context)
        Execute the logout action after invalidating the cache.
        Parameters:
        request - the HTTP request.
        response - the HTTP response.
        context - the webflow context.
        Returns:
        the event triggered by this actions.
      • preventCaching

        protected void preventCaching​(javax.servlet.http.HttpServletResponse response)
        Prevent caching by adding the appropriate headers. Copied from the preventCaching method in the WebContentGenerator class.
        Parameters:
        response - the HTTP response.