Uses of Class
org.apache.hadoop.hbase.security.access.Permission
Package
Description
Provides HBase Client
Table of Contents
-
Uses of Permission in org.apache.hadoop.hbase.client
Modifier and TypeMethodDescriptionAppend.setACL
(String user, Permission perms) Delete.setACL
(String user, Permission perms) Get.setACL
(String user, Permission perms) ImmutableScan.setACL
(String user, Permission perms) Increment.setACL
(String user, Permission perms) Mutation.setACL
(String user, Permission perms) Set the ACL for this operation.Put.setACL
(String user, Permission perms) Query.setACL
(String user, Permission perms) Set the ACL for the operation.Scan.setACL
(String user, Permission perms) Modifier and TypeMethodDescriptionAdmin.hasUserPermissions
(String userName, List<Permission> permissions) Check if the user has specific permissionsAdmin.hasUserPermissions
(List<Permission> permissions) Check if call user has specific permissionsAdminOverAsyncAdmin.hasUserPermissions
(String userName, List<Permission> permissions) AsyncAdmin.hasUserPermissions
(String userName, List<Permission> permissions) Check if the user has specific permissionsdefault CompletableFuture<List<Boolean>>
AsyncAdmin.hasUserPermissions
(List<Permission> permissions) Check if call user has specific permissionsAsyncHBaseAdmin.hasUserPermissions
(String userName, List<Permission> permissions) RawAsyncHBaseAdmin.hasUserPermissions
(String userName, List<Permission> permissions) Append.setACL
(Map<String, Permission> perms) Delete.setACL
(Map<String, Permission> perms) Get.setACL
(Map<String, Permission> perms) ImmutableScan.setACL
(Map<String, Permission> perms) Increment.setACL
(Map<String, Permission> perms) Mutation.setACL
(Map<String, Permission> perms) Set the ACL for this operation.Put.setACL
(Map<String, Permission> perms) Query.setACL
(Map<String, Permission> perms) Set the ACL for the operation.Scan.setACL
(Map<String, Permission> perms) -
Uses of Permission in org.apache.hadoop.hbase.coprocessor
Modifier and TypeMethodDescriptiondefault void
MasterObserver.postHasUserPermissions
(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, List<Permission> permissions) Called after checking if user has permissions.default void
MasterObserver.preHasUserPermissions
(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, List<Permission> permissions) -
Uses of Permission in org.apache.hadoop.hbase.master
Modifier and TypeMethodDescriptionvoid
MasterCoprocessorHost.postHasUserPermissions
(String userName, List<Permission> permissions) void
MasterCoprocessorHost.preHasUserPermissions
(String userName, List<Permission> permissions) -
Uses of Permission in org.apache.hadoop.hbase.security.access
Modifier and TypeClassDescriptionprivate static class
AuthManager.PermissionCache<T extends Permission>
Cache of permissions, it is thread safe.Modifier and TypeClassDescriptionclass
Represents an authorization for access whole cluster.class
Represents an authorization for access for the given namespace.class
Represents an authorization for access for the given actions, optionally restricted to the given column family or column qualifier, over the given table.Modifier and TypeMethodDescriptionPermission.Builder.build()
UserPermission.getPermission()
static Permission
AccessControlUtil.toPermission
(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission proto) Converts a Permission proto to a client Permission object.static Permission
ShadedAccessControlUtil.toPermission
(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission proto) Converts a Permission shaded proto to a client TablePermission object.Modifier and TypeMethodDescriptionstatic List<Permission>
PermissionStorage.getCellPermissionsForUser
(User user, ExtendedCell cell) private static Pair<String,
Permission> PermissionStorage.parsePermissionRecord
(byte[] entryName, Cell kv, byte[] cf, byte[] cq, boolean filterPerms, String filterUser) static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,
Permission> PermissionStorage.readPermissions
(byte[] data, org.apache.hadoop.conf.Configuration conf) private static List<Permission>
PermissionStorage.readWritableUserPermission
(DataInput in, org.apache.hadoop.conf.Configuration conf) static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,
Permission> AccessControlUtil.toPermission
(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions proto) Convert a protobuf UserTablePermissions to a ListMultimap<Username, Permission>static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,
Permission> AccessControlUtil.toUsersAndPermissions
(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions proto) static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,
Permission> ShadedAccessControlUtil.toUserTablePermissions
(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions proto) Convert a shaded protobuf UserTablePermissions to a ListMultimap<String, TablePermission> where key is username.Modifier and TypeMethodDescriptionboolean
AccessChecker.hasUserPermission
(User user, String request, Permission permission) Authorizes that if the current user has the given permissions.boolean
NoopAccessChecker.hasUserPermission
(User user, String request, Permission permission) static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission
AccessControlUtil.toPermission
(Permission perm) Convert a client Permission to a Permission protostatic org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission
ShadedAccessControlUtil.toPermission
(Permission perm) Convert a client Permission to a Permission shaded protostatic org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions
AccessControlUtil.toUsersAndPermissions
(String user, Permission perms) (package private) static byte[]
PermissionStorage.userPermissionRowKey
(Permission permission) Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest
ShadedAccessControlUtil.buildHasUserPermissionsRequest
(String userName, List<Permission> permissions) void
AccessController.preHasUserPermissions
(ObserverContext<MasterCoprocessorEnvironment> ctx, String userName, List<Permission> permissions) private void
AccessController.preHasUserPermissions
(User caller, String userName, List<Permission> permissions) static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions
AccessControlUtil.toUsersAndPermissions
(org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String, Permission> perms) private void
AuthManager.updateCache
(org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String, ? extends Permission> newPermissions, AuthManager.PermissionCache cacheToUpdate) private void
AuthManager.updateGlobalCache
(org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String, Permission> globalPerms) Updates the internal global permissions cache.private void
AuthManager.updateNamespaceCache
(String namespace, org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String, Permission> nsPerms) Updates the internal namespace permissions cache for specified namespace.private void
AuthManager.updateTableCache
(TableName table, org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String, Permission> tablePerms) Updates the internal table permissions cache for specified table.ModifierConstructorDescriptionUserPermission
(String user, Permission permission) Construct a user permission given permission. -
Uses of Permission in org.apache.hadoop.hbase.thrift2.client
Modifier and TypeMethodDescriptionThriftAdmin.hasUserPermissions
(String userName, List<Permission> permissions)