| org.apache.wsrp4j.consumer.UserRegistry
All known Subclasses: org.apache.wsrp4j.consumer.driver.GenericUserRegistryImpl,
UserRegistry | public interface UserRegistry (Code) | | Defines a registry which can be used to manage users.
author: Stephan Laertz |
addUser | public User addUser(User user)(Code) | | Add a user to the registry
Parameters: user - The user to add The user added or null |
getAllUsers | public Iterator getAllUsers()(Code) | | Get an iterator with all known users
All known user objects in an iterator |
getUser | public User getUser(String userID)(Code) | | Get the user with the given id
Parameters: userID - The ID of the user The user object with the given user id |
removeAllUsers | public void removeAllUsers()(Code) | | Remove all users from the registry
|
removeUser | public User removeUser(String userID)(Code) | | Remove a user from the list of known user
Parameters: userID - The ID of the user The user which has been removed or null |
|
|