Class CmsLogoutService

java.lang.Object
org.hippoecm.frontend.plugin.Plugin
org.hippoecm.frontend.logout.CmsLogoutService
All Implemented Interfaces:
Serializable, org.apache.wicket.util.io.IClusterable, IPlugin, ILogoutService

public class CmsLogoutService extends Plugin implements ILogoutService
Logs the current user out of the CMS. This implementation performs the following tasks upon logout:
  1. Remove the Hippo auto login cookie
  2. Save pending JCR changes
  3. Log out the user session
  4. Redirect to the login page
See Also:
  • Constructor Details

  • Method Details

    • logout

      public void logout()
      Description copied from interface: ILogoutService
      Logs out from the current web application.
      Specified by:
      logout in interface ILogoutService
    • clearStates

      protected void clearStates()
      Clear any user states other than user session.
    • logoutSession

      protected void logoutSession()
      Log out user session.
    • redirectPage

      protected void redirectPage()
      Redirect it to (home)page