org.apache.beehive.wsm.axis.security.model
Class MemoryUserListImpl

Object
  extended by MemoryUserListImpl
All Implemented Interfaces:
UserList

public class MemoryUserListImpl
extends Object
implements UserList


Constructor Summary
MemoryUserListImpl()
           
 
Method Summary
 void addGroup(Group group)
           
 void addRole(Role role)
           
 void addUser(User user)
           
 Group getGroup(String name)
           
 Collection<Group> getGroups()
           
 Role getRole(String role)
           
 Collection<Role> getRoles()
           
 User getUser(String name)
           
 Collection<User> getUsers()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryUserListImpl

public MemoryUserListImpl()
Method Detail

addUser

public void addUser(User user)
Specified by:
addUser in interface UserList

getUser

public User getUser(String name)
Specified by:
getUser in interface UserList

getUsers

public Collection<User> getUsers()
Specified by:
getUsers in interface UserList

addGroup

public void addGroup(Group group)
Specified by:
addGroup in interface UserList

getGroup

public Group getGroup(String name)
Specified by:
getGroup in interface UserList

getGroups

public Collection<Group> getGroups()
Specified by:
getGroups in interface UserList

addRole

public void addRole(Role role)
Specified by:
addRole in interface UserList

getRole

public Role getRole(String role)
Specified by:
getRole in interface UserList

getRoles

public Collection<Role> getRoles()
Specified by:
getRoles in interface UserList