|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RepositoryUser
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 |
|---|
String getName()
String object that contains the name of
the RepositoryUservoid setName(String name)
name - the new name of the RepositoryUser.String getPassword()
String object that contains the password of
the RepositoryUservoid setPassword(String password)
password - the new password of the RepositoryUser.String[] getRoles()
String[] object that contains the roles of
the RepositoryUservoid 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 | |||||||||