java.lang.Object
org.mentawai.core.BaseAction
org.mentawai.action.LogoutAction
- All Implemented Interfaces:
- org.mentawai.core.Action, org.mentawai.filter.AuthenticationFree
- public class LogoutAction
- extends org.mentawai.core.BaseAction
- implements org.mentawai.filter.AuthenticationFree
A simple Logout action that can be used fot user logout.
This action just calls the session reset() method, to clear the session.
| Methods inherited from class org.mentawai.core.BaseAction |
addError, addError, addError, addError, addError, addError, addError, addError, addError, addError, addMessage, addMessage, addMessage, addMessage, addMessage, getApplication, getInput, getLocale, getOutput, getSession, setApplication, setInput, setLocale, setMessageContext, setOutput, setSession |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogoutAction
public LogoutAction()
logout
protected void logout()
- Implements the actual logout.
This method simply calls the session reset() method, to clean the session.
You may override this method if you want to do other operations when the user logs out.
execute
public java.lang.String execute()
throws java.lang.Exception
- Description copied from interface:
org.mentawai.core.Action
- Executes the action, returning a result.
- Specified by:
execute in interface org.mentawai.core.Action