private static class TableAuthManager.PermissionCache<T extends Permission> extends Object
Modifier and Type | Field and Description |
---|---|
private org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,T> |
groupCache
Cache of group permissions
|
private org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,T> |
userCache
Cache of user permissions
|
Modifier | Constructor and Description |
---|---|
private |
PermissionCache() |
Modifier and Type | Method and Description |
---|---|
org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,T> |
getAllPermissions()
Returns a combined map of user and group permissions, with group names
distinguished according to
AuthUtil.isGroupPrincipal(String) . |
List<T> |
getGroup(String group) |
List<T> |
getUser(String user) |
void |
putGroup(String group,
T perm) |
void |
putUser(String user,
T perm) |
List<T> |
replaceGroup(String group,
Iterable<? extends T> perms) |
List<T> |
replaceUser(String user,
Iterable<? extends T> perms) |
private org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,T extends Permission> userCache
private org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,T extends Permission> groupCache
private PermissionCache()
public org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,T> getAllPermissions()
AuthUtil.isGroupPrincipal(String)
.Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.