Interface BasicAccessControlList
- All Superinterfaces:
AccessControlList
,Serializable
- All Known Implementing Classes:
BasicAccessControlListImpl
This interface describes a control class that makes it easy to find out if a
particular User has a given Permission. It also determines if a User has a a
particular Role.
- Version:
- $Id$
- Author:
- Eric Pugh
-
Method Summary
-
Method Details
-
getGroups
GroupSet getGroups()Retrieves all groups for a user- Returns:
- the set of Groups this user has
-
hasGroup
Checks if the user is assigned a specific Group- Parameters:
group
- the Group- Returns:
true
if the user is assigned to the Group
-
hasGroup
Checks if the user is assigned a specific Group- Parameters:
group
- the group name- Returns:
true
if the user is assigned the Group.
-