public class AclSelector extends AbstractResourcePoolSelector
selector: {
acl: {
users: [alice:+, bob:-],
groups: [sales, marketing]
}
}
ResourcePoolSelector.SelectorType
SELECTOR_TYPE
Modifier and Type | Method and Description |
---|---|
boolean |
checkQueryUserGroups(String queryUser,
Set<String> queryGroups) |
Set<String> |
getAllowedGroups() |
Set<String> |
getAllowedUsers() |
Set<String> |
getDeniedGroups() |
Set<String> |
getDeniedUsers() |
boolean |
isQuerySelected(QueryContext queryContext)
Determines if a given query is selected by this ACL selector of a Resource Pool or not.
|
String |
toString() |
getSelectorType
public boolean isQuerySelected(QueryContext queryContext)
isQuerySelected
in interface ResourcePoolSelector
isQuerySelected
in class AbstractResourcePoolSelector
queryContext
- QueryContext to get information about query userpublic String toString()
toString
in class AbstractResourcePoolSelector
Copyright © 1970 The Apache Software Foundation. All rights reserved.