semanticwfs
Version 0.1.0.0
|
Represents a user who may log in to the system. More...
Public Member Functions | |
User () | |
Empty constructor to gradually fill the user object. More... | |
User (String name, String password, UserType level) | |
Constructor for this class. More... | |
String | getName () |
Gets the name of the user. More... | |
String | getUuid () |
Gets the uuid of the user. More... | |
void | setUuid (String uuid) |
Sets the UUID of the user. More... | |
void | setName (String name) |
Sets the name of the user. More... | |
String | getPasswordHash () |
Gets the password hash of the user. More... | |
void | setPasswordHash (String passwordHash) |
Sets the password hash of the user. More... | |
UserType | getUserlevel () |
Gets the user level of the user. More... | |
void | setUserlevel (UserType userlevel) |
Sets the user level of the user. More... | |
String | toString () |
Public Attributes | |
String | authToken |
An auth token which has been given to this user to authenticate for web services. More... | |
Private Attributes | |
String | name |
The name of the user. More... | |
String | passwordHash |
The password hash used for authentification. More... | |
UserType | userlevel |
The authorization level given to this user. More... | |
String | uuid |
The current UUID assigned to this user. More... | |
Represents a user who may log in to the system.
User | ( | ) |
Constructor for this class.
name | The user name |
password | The password assigned to the user |
level | the user level |
References User.name, and UserType.toString().
String getName | ( | ) |
Gets the name of the user.
References User.name.
Referenced by UserManagementConnection.UserHandler.startElement(), and UserManagementConnection.usersToHTML().
String getPasswordHash | ( | ) |
Gets the password hash of the user.
References User.passwordHash.
UserType getUserlevel | ( | ) |
Gets the user level of the user.
References User.userlevel.
Referenced by WebService.addEndpoint(), WebService.addFeatureType(), WebService.saveFeatureTypes(), and UserManagementConnection.usersToHTML().
String getUuid | ( | ) |
void setName | ( | String | name | ) |
Sets the name of the user.
name | The name as String |
References User.name.
Referenced by UserManagementConnection.addUser(), UserManagementConnection.UserHandler.startElement(), and UserManagementConnection.updateUser().
void setPasswordHash | ( | String | passwordHash | ) |
Sets the password hash of the user.
passwordHash | The passwordHash as String |
References User.passwordHash.
Referenced by UserManagementConnection.addUser(), UserManagementConnection.UserHandler.startElement(), and UserManagementConnection.updateUser().
void setUserlevel | ( | UserType | userlevel | ) |
Sets the user level of the user.
userlevel | The userlevel as UserType |
References User.userlevel.
Referenced by UserManagementConnection.addUser(), UserManagementConnection.UserHandler.startElement(), and UserManagementConnection.updateUser().
void setUuid | ( | String | uuid | ) |
Sets the UUID of the user.
uuid | The uuid as String |
References User.uuid.
Referenced by UserManagementConnection.login(), and UserManagementConnection.UserHandler.startElement().
String toString | ( | ) |
References User.userlevel.
Referenced by WebService.getFeatureTypes(), and UserManagementConnection.usersToHTML().
String authToken |
An auth token which has been given to this user to authenticate for web services.
Referenced by WebService.login().
|
private |
The name of the user.
Referenced by User.getName(), User.setName(), and User.User().
|
private |
The password hash used for authentification.
Referenced by User.getPasswordHash(), and User.setPasswordHash().
|
private |
The authorization level given to this user.
Referenced by User.getUserlevel(), User.setUserlevel(), and User.toString().
|
private |
The current UUID assigned to this user.
Referenced by User.getUuid(), and User.setUuid().