public class BasicAccessControlListImpl extends Object implements BasicAccessControlList
Constructor and Description |
---|
BasicAccessControlListImpl(GroupSet groupSet)
Constructs a new AccessControlList.
|
Modifier and Type | Method and Description |
---|---|
GroupSet |
getGroups()
Retrieves a set of Groups an user is assigned
|
boolean |
hasGroup(Group group)
Checks if the user is assigned a specific Group
|
boolean |
hasGroup(String group)
Checks if the user is assigned a specific Group
|
public BasicAccessControlListImpl(GroupSet groupSet)
groupSet
- a hashtable containing GroupSet objectspublic GroupSet getGroups()
getGroups
in interface BasicAccessControlList
public boolean hasGroup(Group group)
hasGroup
in interface BasicAccessControlList
group
- the Grouptrue
if the user is assigned the Grouppublic boolean hasGroup(String group)
hasGroup
in interface BasicAccessControlList
group
- the Group nametrue
if the user is assigned the GroupCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.