Package | Description |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.security.access |
Modifier and Type | Method and Description |
---|---|
List<UserPermission> |
HBaseAdmin.getUserPermissions(GetUserPermissionsRequest getUserPermissionsRequest) |
CompletableFuture<List<UserPermission>> |
AsyncAdmin.getUserPermissions(GetUserPermissionsRequest getUserPermissionsRequest)
Get the global/namespace/table permissions for user
|
List<UserPermission> |
Admin.getUserPermissions(GetUserPermissionsRequest getUserPermissionsRequest)
Get the global/namespace/table permissions for user
|
Modifier and Type | Method and Description |
---|---|
void |
HBaseAdmin.grant(UserPermission userPermission,
boolean mergeExistingPermissions) |
CompletableFuture<Void> |
AsyncAdmin.grant(UserPermission userPermission,
boolean mergeExistingPermissions)
Grants user specific permissions
|
void |
Admin.grant(UserPermission userPermission,
boolean mergeExistingPermissions)
Grants user specific permissions
|
void |
HBaseAdmin.revoke(UserPermission userPermission) |
CompletableFuture<Void> |
AsyncAdmin.revoke(UserPermission userPermission)
Revokes user specific permissions
|
void |
Admin.revoke(UserPermission userPermission)
Revokes user specific permissions
|
Modifier and Type | Method and Description |
---|---|
static UserPermission |
ShadedAccessControlUtil.toUserPermission(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission proto)
Converts a user permission proto to a client user permission object.
|
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 |
---|---|
static List<UserPermission> |
AccessControlClient.getUserPermissions(Connection connection,
String tableRegex)
List all the userPermissions matching the given pattern.
|
static List<UserPermission> |
AccessControlClient.getUserPermissions(Connection connection,
String tableRegex,
byte[] columnFamily)
List all the userPermissions matching the given table pattern and column family.
|
static List<UserPermission> |
AccessControlClient.getUserPermissions(Connection connection,
String tableRegex,
byte[] columnFamily,
byte[] columnQualifier)
List all the userPermissions matching the given table pattern, column family and column
qualifier.
|
static List<UserPermission> |
AccessControlClient.getUserPermissions(Connection connection,
String tableRegex,
byte[] columnFamily,
byte[] columnQualifier,
String userName)
List all the userPermissions matching the given table pattern, column family and column
qualifier.
|
static List<UserPermission> |
AccessControlClient.getUserPermissions(Connection connection,
String tableRegex,
byte[] columnFamily,
String userName)
List all the userPermissions matching the given table pattern, column family and user name.
|
static List<UserPermission> |
AccessControlClient.getUserPermissions(Connection connection,
String tableRegex,
String userName)
List all the userPermissions matching the given table pattern and user name.
|
static List<UserPermission> |
AccessControlUtil.getUserPermissions(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol)
Deprecated.
Use
Admin.getUserPermissions(GetUserPermissionsRequest) instead. |
static List<UserPermission> |
AccessControlUtil.getUserPermissions(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol,
byte[] namespace)
Deprecated.
Use
Admin.getUserPermissions(GetUserPermissionsRequest) instead. |
static List<UserPermission> |
AccessControlUtil.getUserPermissions(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol,
byte[] namespace,
String userName)
Deprecated.
Use
Admin.getUserPermissions(GetUserPermissionsRequest) instead. |
static List<UserPermission> |
AccessControlUtil.getUserPermissions(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol,
String userName)
Deprecated.
Use
Admin.getUserPermissions(GetUserPermissionsRequest) instead. |
static List<UserPermission> |
AccessControlUtil.getUserPermissions(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol,
TableName t)
Deprecated.
Use
Admin.getUserPermissions(GetUserPermissionsRequest) instead. |
static List<UserPermission> |
AccessControlUtil.getUserPermissions(com.google.protobuf.RpcController controller,
org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol,
TableName t,
byte[] columnFamily,
byte[] columnQualifier,
String userName)
Deprecated.
Use
Admin.getUserPermissions(GetUserPermissionsRequest) instead. |
static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,UserPermission> |
AccessControlUtil.toUserPermission(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions proto)
Convert a protobuf UserTablePermissions to a ListMultimap<Username, UserPermission>
|
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest |
ShadedAccessControlUtil.buildGrantRequest(UserPermission userPermission,
boolean mergeExistingPermissions) |
static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest |
ShadedAccessControlUtil.buildRevokeRequest(UserPermission userPermission) |
static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission |
ShadedAccessControlUtil.toUserPermission(UserPermission perm)
Convert a client user permission to a user permission proto
|
static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermission |
AccessControlUtil.toUserPermission(UserPermission perm)
Convert a client user permission to a user permission proto
|
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse |
ShadedAccessControlUtil.buildGetUserPermissionsResponse(List<UserPermission> permissions) |
static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse |
AccessControlUtil.buildGetUserPermissionsResponse(List<UserPermission> permissions)
Converts the permissions list into a protocol buffer GetUserPermissionsResponse
|
static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions |
ShadedAccessControlUtil.toUserTablePermissions(org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,UserPermission> perm)
Convert a ListMultimap<String, TablePermission> where key is username to a shaded
protobuf UserPermission
|
static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions |
AccessControlUtil.toUserTablePermissions(org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,UserPermission> perm)
Convert a ListMultimap<String, TablePermission> where key is username
to a protobuf UserPermission
|
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.