|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An interface that describes an object that stores a collection of RepositoryUsers. The RepositoryUser object contains information such as name, password, and roles of users. This information is later used to authorize users for access to protected resources.
| Method Summary | |
void |
addUser(RepositoryUser user)
Adds the specified RepositoryUser to this UserRepository. |
RepositoryUser |
getUser(String name)
Returns a RepositoryUser from the UserRepository. |
boolean |
isModified()
Determines if the UserRepository datasource has been modified. |
void |
removeUser(RepositoryUser user)
Removes the specified RepositoryUser from this UserRepository. |
| Methods inherited from interface com.cafesoft.core.log.LoggerClient |
setLogger |
| Methods inherited from interface com.cafesoft.core.util.Debuggable |
setDebug |
| Method Detail |
public void addUser(RepositoryUser user)
throws UserRepositoryException
user - the RepositoryUser to add
UserRepositoryException - thrown if the RepositoryUser already
exists in the UserRepository
public void removeUser(RepositoryUser user)
throws UserRepositoryException
user - the RepositoryUser to remove
UserRepositoryException - thrown if the RepositoryUser does not
exist in the UserRepository
public RepositoryUser getUser(String name)
throws UserRepositoryException
name - the name of the user in the UserRepository
UserRepositoryException - thrown if the RepositoryUser does not
exist in the UserRepositorypublic boolean isModified()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||