Package | Description |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.security.access |
Modifier and Type | Method and Description |
---|---|
Mutation |
Mutation.setACL(String user,
Permission perms) |
Scan |
Scan.setACL(String user,
Permission perms) |
Append |
Append.setACL(String user,
Permission perms) |
Increment |
Increment.setACL(String user,
Permission perms) |
Query |
Query.setACL(String user,
Permission perms) |
Put |
Put.setACL(String user,
Permission perms) |
Delete |
Delete.setACL(String user,
Permission perms) |
Get |
Get.setACL(String user,
Permission perms) |
Modifier and Type | Method and Description |
---|---|
Mutation |
Mutation.setACL(Map<String,Permission> perms) |
Scan |
Scan.setACL(Map<String,Permission> perms) |
Append |
Append.setACL(Map<String,Permission> perms) |
Increment |
Increment.setACL(Map<String,Permission> perms) |
Query |
Query.setACL(Map<String,Permission> perms) |
Put |
Put.setACL(Map<String,Permission> perms) |
Delete |
Delete.setACL(Map<String,Permission> perms) |
Get |
Get.setACL(Map<String,Permission> perms) |
Modifier and Type | Class and Description |
---|---|
private static class |
TableAuthManager.PermissionCache<T extends Permission> |
Modifier and Type | Class and Description |
---|---|
class |
TablePermission
Represents an authorization for access for the given actions, optionally
restricted to the given column family or column qualifier, over the
given table.
|
class |
UserPermission
Represents an authorization for access over the given table, column family
plus qualifier, for the given user.
|
Modifier and Type | Field and Description |
---|---|
private TableAuthManager.PermissionCache<Permission> |
TableAuthManager.globalCache
Cache of global permissions
|
Modifier and Type | Method and Description |
---|---|
static Permission |
AccessControlUtil.toPermission(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission proto)
Converts a Permission proto to a client Permission object.
|
Modifier and Type | Method and Description |
---|---|
static List<Permission> |
AccessControlLists.getCellPermissionsForUser(User user,
Cell cell) |
private TableAuthManager.PermissionCache<Permission> |
TableAuthManager.initGlobal(org.apache.hadoop.conf.Configuration conf)
Returns a new
PermissionCache initialized with permission assignments
from the hbase.superuser configuration key. |
static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,Permission> |
AccessControlUtil.toUsersAndPermissions(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions proto) |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission |
AccessControlUtil.toPermission(Permission perm)
Convert a client Permission to a Permission proto
|
static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission |
ShadedAccessControlUtil.toPermission(Permission perm)
Convert a client Permission to a Permission shaded proto
|
static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions |
AccessControlUtil.toUsersAndPermissions(String user,
Permission perms) |
Modifier and Type | Method and Description |
---|---|
private boolean |
TableAuthManager.authorize(List<Permission> perms,
Permission.Action action)
Authorizes a global permission
|
static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions |
AccessControlUtil.toUsersAndPermissions(org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,Permission> perms) |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.