public class BasicAccessControlListImpl extends Object implements BasicAccessControlList
| Constructor and Description |
|---|
BasicAccessControlListImpl(GroupSet groupSet)
Constructs a new AccessControlList.
|
public BasicAccessControlListImpl(GroupSet groupSet)
roleSets - a hashtable containing RoleSet objects keyed with Group
objectspermissionSets - a hashtable containing PermissionSet objects keyed with Roles
objectspublic GroupSet getGroups()
getGroups in interface BasicAccessControlListpublic boolean hasGroup(Group group)
hasGroup in interface BasicAccessControlListrole - the Grouptrue if the user is assigned the Grouppublic boolean hasGroup(String group)
hasGroup in interface BasicAccessControlListrole - the Group nametrue if the user is assigned the GroupCopyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.