org.activemath.webapp.controller
Class Login
java.lang.Object
org.infohazard.maverick.ctl.Throwaway2
org.infohazard.maverick.ctl.ThrowawayBean2
org.activemath.webapp.base.ControllerBase
org.activemath.webapp.controller.Login
- All Implemented Interfaces:
- Controller
public class Login
- extends ControllerBase
Login logic
TODO: undo all login actions when we fail with error (um, identity, ...)
Request parameters:
- user - user id to log in
- password - user password
- dest - destination url after successful login (defaults to main menu). Empty string is
ignored.
|
Constructor Summary |
Login()
|
| Methods inherited from class org.activemath.webapp.base.ControllerBase |
addError, addError, enableNoCache, escapeForHtmlSafety, getAccountManager, getAppSession, getCmdName, getCurrentUser, getErrors, getHttpSession, getLanguage, getModel, getOutputFormat, getRequest, getResponse, getSkin, hasErrors, perform, publishControllerEvent, sendError, sendError, sendJson, sendLoginRequired, sendRedirect, sendRedirect, setPasswd |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Login
public Login()
setUser
public void setUser(String string)
- Overrides:
setUser in class ControllerBase
setPassword
public void setPassword(String string)
setSpeech
public void setSpeech(String string)
setClientTime
public void setClientTime(long value)
setPermanentLogin
public void setPermanentLogin(boolean value)
setDest
public void setDest(String string)
action
protected String action()
- Implements the controller's action
- Overrides:
action in class ControllerBase
- See Also:
org.activemath.presentation.servlets.controller.AMController#action()