org.apache.catalina.users
Class MemoryGroup
- Group, Principal
Version:
- Craig R. McClanahan
- 4.1
addRole , getDescription , getGroupname , getName , getRoles , getUserDatabase , getUsers , isInRole , removeRole , removeRoles , setDescription , setGroupname |
roles
protected ArrayList roles
The set of
Role
s associated with this group.
addRole
public void addRole(Role role)
Add a new
Role
to those assigned specifically to this group.
- addRole in interface Group
- addRole in interface AbstractGroup
role
- The new role
getRoles
public Iterator getRoles()
Return the set of
Role
s assigned specifically to this group.
- getRoles in interface Group
- getRoles in interface AbstractGroup
getUsers
public Iterator getUsers()
Return the set of User
s that are members of this group.
- getUsers in interface Group
- getUsers in interface AbstractGroup
isInRole
public boolean isInRole(Role role)
Is this group specifically assigned the specified
Role
?
- isInRole in interface Group
- isInRole in interface AbstractGroup
role
- The role to check
toString
public String toString()
Return a String representation of this group in XML format.
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.