|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--PaP.LoginRequest
This class contains the parameters specified by an actor when a user sends a request for logging himself into a PaP domain administrated by a Director.
Field Summary | |
static int |
DIRECTOR
Used when a Director is sending a LoginRequest to another Director on behalf of a visitor user. |
static int |
LOCAL
Used when a user wants to login to his home PaP domain. |
java.lang.Object |
objectValue
Variable for parameters of type Object. |
java.lang.String |
password
Specifies the password of the user wanting to login. |
static int |
REMOTE
Used when a user wants to login to his home PaP domain from another domain. |
boolean |
resumeSession
Specifies wether the user wants to resume a previously suspended session or if he wants to start a new session. |
int |
type
Specifies the type of this LoginRequest. |
java.lang.String |
username
Specifies the username of the user wanting to login. |
static int |
VISITOR
Used when a user wants to login to a PaP domain as a visitor. |
Constructor Summary | |
LoginRequest(int loginType)
Creates a new LoginRequest of the specifed type. |
Method Summary | |
java.lang.String |
toString()
Returns the state of this LoginRequest in the form of a string. |
boolean |
validate()
Validates this LoginRequest. |
Methods inherited from class java.lang.Object |
|
Field Detail |
public static final int DIRECTOR
public static final int LOCAL
public static final int REMOTE
public static final int VISITOR
public int type
public java.lang.String username
public java.lang.String password
public boolean resumeSession
public java.lang.Object objectValue
Constructor Detail |
public LoginRequest(int loginType)
loginType
- The type of LoginRequest.Method Detail |
public java.lang.String toString()
toString
in class java.lang.Object
public boolean validate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |