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 BasicAccessControlList
public boolean hasGroup(Group group)
hasGroup
in interface BasicAccessControlList
role
- the Grouptrue
if the user is assigned the Grouppublic boolean hasGroup(String group)
hasGroup
in interface BasicAccessControlList
role
- the Group nametrue
if the user is assigned the GroupCopyright © 2011–2017 The Apache Software Foundation. All rights reserved.