Package | Description |
---|---|
org.apache.hadoop.hbase.security.access |
Modifier and Type | Field and Description |
---|---|
private Map<TableName,List<UserPermission>> |
AccessController.tableAcls |
Modifier and Type | Method and Description |
---|---|
static UserPermission |
AccessControlUtil.toUserPermission(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermission proto)
Converts a user permission proto to a client user permission object.
|
Modifier and Type | Method and Description |
---|---|
(package private) static List<UserPermission> |
AccessControlLists.getUserNamespacePermissions(org.apache.hadoop.conf.Configuration conf,
String namespace) |
(package private) static List<UserPermission> |
AccessControlLists.getUserPermissions(org.apache.hadoop.conf.Configuration conf,
byte[] entryName) |
static List<UserPermission> |
AccessControlClient.getUserPermissions(Connection connection,
String tableRegex)
List all the userPermissions matching the given pattern.
|
static List<UserPermission> |
AccessControlUtil.getUserPermissions(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol)
A utility used to get user's global permissions.
|
static List<UserPermission> |
AccessControlUtil.getUserPermissions(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol,
byte[] namespace)
A utility used to get permissions for selected namespace.
|
static List<UserPermission> |
AccessControlUtil.getUserPermissions(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol,
TableName t)
A utility used to get user table permissions.
|
(package private) static List<UserPermission> |
AccessControlLists.getUserTablePermissions(org.apache.hadoop.conf.Configuration conf,
TableName tableName)
Returns the currently granted permissions for a given table as a list of
user plus associated permissions.
|
Modifier and Type | Method and Description |
---|---|
(package private) static void |
AccessControlLists.addUserPermission(org.apache.hadoop.conf.Configuration conf,
UserPermission userPerm,
Table t) |
(package private) static void |
AccessControlLists.addUserPermission(org.apache.hadoop.conf.Configuration conf,
UserPermission userPerm,
Table t,
boolean mergeExistingPermissions)
Stores a new user permission grant in the access control lists table.
|
private static void |
AccessControlLists.removePermissionRecord(org.apache.hadoop.conf.Configuration conf,
UserPermission userPerm,
Table t) |
(package private) static void |
AccessControlLists.removeUserPermission(org.apache.hadoop.conf.Configuration conf,
UserPermission userPerm,
Table t)
Removes a previously granted permission from the stored access control
lists.
|
static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermission |
AccessControlUtil.toUserPermission(UserPermission perm)
Convert a client user permission to a user permission proto
|
(package private) static byte[] |
AccessControlLists.userPermissionKey(UserPermission userPerm)
Build qualifier key from user permission:
username
username,family
username,family,qualifier
|
(package private) static byte[] |
AccessControlLists.userPermissionRowKey(UserPermission userPerm) |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse |
AccessControlUtil.buildGetUserPermissionsResponse(List<UserPermission> permissions)
Converts the permissions list into a protocol buffer GetUserPermissionsResponse
|
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.