edu.jhu.tmaj.servlet.request.impl
Class LoginRequest
java.lang.Object
edu.jhu.tmaj.servlet.request.BaseRequest
edu.jhu.tmaj.servlet.request.impl.LoginRequest
- All Implemented Interfaces:
- CommandRequest, java.io.Serializable
public final class LoginRequest
- extends BaseRequest
- implements java.io.Serializable
Returns a userbean containing all the permissions of the user given the user's username and
password. This request is made when a user is attempting to log on. The permissions of the user
are used to enforce client-side security.
- See Also:
UserBean.lookup(String username, String password)
,
Serialized Form
Constructor Summary |
LoginRequest(java.lang.String username,
java.lang.String password)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LoginRequest
public LoginRequest(java.lang.String username,
java.lang.String password)
processRequest
public CommandResponse processRequest(UserBean userBean)
throws java.sql.SQLException
- Description copied from class:
BaseRequest
- This request is executed on the server assuming the username and password returns a valid
UserBean.
- Specified by:
processRequest
in class BaseRequest
- Throws:
java.sql.SQLException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object