Package org.hippoecm.frontend.logout
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
Logs the current user out of the CMS. This implementation performs the following tasks upon logout:
- Remove the Hippo auto login cookie
- Save pending JCR changes
- Log out the user session
- Redirect to the login page
- See Also:
-
Field Summary
Fields inherited from interface org.hippoecm.frontend.service.ILogoutService
SERVICE_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Clear any user states other than user session.void
logout()
Logs out from the current web application.protected void
Log out user session.protected void
Redirect it to (home)pageMethods inherited from class org.hippoecm.frontend.plugin.Plugin
getPluginConfig, getPluginContext, start, stop
-
Constructor Details
-
CmsLogoutService
-
-
Method Details
-
logout
public void logout()Description copied from interface:ILogoutService
Logs out from the current web application.- Specified by:
logout
in interfaceILogoutService
-
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
-