edu.jhu.tmaj.servlet.response.impl
Class LoginResponse

java.lang.Object
  extended by edu.jhu.tmaj.servlet.response.SuccessResponse
      extended by edu.jhu.tmaj.servlet.response.impl.LoginResponse
All Implemented Interfaces:
CommandResponse, java.io.Serializable

public final class LoginResponse
extends SuccessResponse
implements java.io.Serializable

The UserBean returned to the client when the client provides the UserBean's correct username and password. The userBean is loaded with information about the user's permissions, along with basic information like name and userID.

See Also:
Serialized Form

Constructor Summary
LoginResponse(UserBean u)
           
 
Method Summary
 UserBean getUserBean()
           
 
Methods inherited from class edu.jhu.tmaj.servlet.response.SuccessResponse
getError, isSuccessful, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoginResponse

public LoginResponse(UserBean u)
Method Detail

getUserBean

public UserBean getUserBean()