|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An interface that describes a User object that is used to store information such as username, password, and roles.
The object will be used with conjuction with the UserRepository object. The UserRepository will store a map of UserRepository objects.
| Method Summary | |
String |
getName()
Get the name of the RepositoryUser |
String |
getPassword()
Get the password of the RepositoryUser |
String[] |
getRoles()
Get the roles of the RepositoryUser |
void |
setName(String name)
Set the name of the RepositoryUser |
void |
setPassword(String password)
Set the password of the RepositoryUser |
void |
setRoles(String[] roles)
Set the roles of the RepositoryUser |
| Method Detail |
public String getName()
String object that contains the name of
the RepositoryUserpublic void setName(String name)
name - the new name of the RepositoryUser.public String getPassword()
String object that contains the password of
the RepositoryUserpublic void setPassword(String password)
password - the new password of the RepositoryUser.public String[] getRoles()
String[] object that contains the roles of
the RepositoryUserpublic void setRoles(String[] roles)
roles - the new roles of the RepositoryUser.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||