|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGWTApplication.client.AuthenticationDetails
public class AuthenticationDetails
This is a entity class which is used to carry the authentication data which will be sent back from the server after the user logs onto the system.
Field Summary | |
---|---|
java.lang.String |
Name
This is the christian name of the user |
java.util.ArrayList |
PriviledgeLevels
These are priviledge levels which is associated with the user. |
java.lang.String |
Surname
The surname of the authenticated user |
java.lang.String |
UserEmailAddress
This is the users email address |
java.lang.String |
UserId
This is the user identifier of the user which he uses to authenticates himself. |
Constructor Summary | |
---|---|
AuthenticationDetails()
A constructor |
Method Summary | |
---|---|
boolean |
hasPriviledgeLevel(java.lang.String DemandedPriviledgeLevel)
Will be used for ascertaining whether or not a user has a the specific priviledge level. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.util.ArrayList PriviledgeLevels
public java.lang.String UserEmailAddress
public java.lang.String Name
public java.lang.String Surname
public java.lang.String UserId
Constructor Detail |
---|
public AuthenticationDetails()
Method Detail |
---|
public boolean hasPriviledgeLevel(java.lang.String DemandedPriviledgeLevel)
DemandedPriviledgeLevel
- This is the level of priviledge
which we want to know the user reaches.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |