public interface BasicAccessControlList extends Serializable, AccessControlList
Modifier and Type | Method and Description |
---|---|
GroupSet |
getGroups()
Retrieves all groups for a user
|
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
|
GroupSet getGroups()
boolean hasGroup(Group group)
group
- the Grouptrue
if the user is assigned to the Groupboolean hasGroup(String group)
group
- the group nametrue
if the user is assigned the Group.Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.