Uses of Class
org.apache.hadoop.hbase.security.access.UserPermission
Packages that use UserPermission
Package
Description
Provides HBase Client
Table of Contents
-
Uses of UserPermission in org.apache.hadoop.hbase.client
Methods in org.apache.hadoop.hbase.client that return types with arguments of type UserPermissionModifier and TypeMethodDescriptionAdmin.getUserPermissions(GetUserPermissionsRequest getUserPermissionsRequest) Get the global/namespace/table permissions for userAdminOverAsyncAdmin.getUserPermissions(GetUserPermissionsRequest getUserPermissionsRequest) AsyncAdmin.getUserPermissions(GetUserPermissionsRequest getUserPermissionsRequest) Get the global/namespace/table permissions for userAsyncHBaseAdmin.getUserPermissions(GetUserPermissionsRequest getUserPermissionsRequest) RawAsyncHBaseAdmin.getUserPermissions(GetUserPermissionsRequest getUserPermissionsRequest) Methods in org.apache.hadoop.hbase.client with parameters of type UserPermissionModifier and TypeMethodDescriptionvoidAdmin.grant(UserPermission userPermission, boolean mergeExistingPermissions) Grants user specific permissionsvoidAdminOverAsyncAdmin.grant(UserPermission userPermission, boolean mergeExistingPermissions) AsyncAdmin.grant(UserPermission userPermission, boolean mergeExistingPermissions) Grants user specific permissionsAsyncHBaseAdmin.grant(UserPermission userPermission, boolean mergeExistingPermissions) RawAsyncHBaseAdmin.grant(UserPermission userPermission, boolean mergeExistingPermissions) voidAdmin.revoke(UserPermission userPermission) Revokes user specific permissionsvoidAdminOverAsyncAdmin.revoke(UserPermission userPermission) AsyncAdmin.revoke(UserPermission userPermission) Revokes user specific permissionsAsyncHBaseAdmin.revoke(UserPermission userPermission) RawAsyncHBaseAdmin.revoke(UserPermission userPermission) -
Uses of UserPermission in org.apache.hadoop.hbase.coprocessor
Methods in org.apache.hadoop.hbase.coprocessor with parameters of type UserPermissionModifier and TypeMethodDescriptiondefault voidMasterObserver.postGrant(ObserverContext<MasterCoprocessorEnvironment> ctx, UserPermission userPermission, boolean mergeExistingPermissions) Called after granting user permissions.default voidMasterObserver.postRevoke(ObserverContext<MasterCoprocessorEnvironment> ctx, UserPermission userPermission) Called after revoking user permissions.default voidMasterObserver.preGrant(ObserverContext<MasterCoprocessorEnvironment> ctx, UserPermission userPermission, boolean mergeExistingPermissions) Called before granting user permissions.default voidMasterObserver.preRevoke(ObserverContext<MasterCoprocessorEnvironment> ctx, UserPermission userPermission) Called before revoking user permissions. -
Uses of UserPermission in org.apache.hadoop.hbase.master
Methods in org.apache.hadoop.hbase.master with parameters of type UserPermissionModifier and TypeMethodDescriptionvoidMasterCoprocessorHost.postGrant(UserPermission userPermission, boolean mergeExistingPermissions) voidMasterCoprocessorHost.postRevoke(UserPermission userPermission) voidMasterCoprocessorHost.preGrant(UserPermission userPermission, boolean mergeExistingPermissions) voidMasterCoprocessorHost.preRevoke(UserPermission userPermission) -
Uses of UserPermission in org.apache.hadoop.hbase.security.access
Fields in org.apache.hadoop.hbase.security.access with type parameters of type UserPermissionModifier and TypeFieldDescriptionprivate Map<TableName,List<UserPermission>> AccessController.tableAclsMethods in org.apache.hadoop.hbase.security.access that return UserPermissionModifier and TypeMethodDescriptionprivate UserPermissionSnapshotScannerHDFSAclController.getUserGlobalPermission(org.apache.hadoop.conf.Configuration conf, String userName) private UserPermissionSnapshotScannerHDFSAclController.getUserNamespacePermission(org.apache.hadoop.conf.Configuration conf, String userName, String namespace) private UserPermissionSnapshotScannerHDFSAclController.getUserTablePermission(org.apache.hadoop.conf.Configuration conf, String userName, TableName tableName) static UserPermissionAccessControlUtil.toUserPermission(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission proto) Converts a user permission proto to a client user permission object.static UserPermissionShadedAccessControlUtil.toUserPermission(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission proto) Converts a user permission proto to a client user permission object.Methods in org.apache.hadoop.hbase.security.access that return types with arguments of type UserPermissionModifier and TypeMethodDescriptionstatic org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,UserPermission> PermissionStorage.getGlobalPermissions(org.apache.hadoop.conf.Configuration conf) static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,UserPermission> PermissionStorage.getNamespacePermissions(org.apache.hadoop.conf.Configuration conf, String namespace) (package private) static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,UserPermission> PermissionStorage.getPermissions(org.apache.hadoop.conf.Configuration conf, byte[] entryName, Table t, byte[] cf, byte[] cq, String user, boolean hasFilterUser) Reads user permission assignments stored in thel:column family of the first table row in_acl_.static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,UserPermission> PermissionStorage.getTablePermissions(org.apache.hadoop.conf.Configuration conf, TableName tableName) static List<UserPermission>PermissionStorage.getUserNamespacePermissions(org.apache.hadoop.conf.Configuration conf, String namespace, String user, boolean hasFilterUser) Returns the currently granted permissions for a given namespace as the specified user plus associated permissions.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(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol) Deprecated.static List<UserPermission>AccessControlUtil.getUserPermissions(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol, byte[] namespace) Deprecated.UseAdmin.getUserPermissions(GetUserPermissionsRequest)instead.static List<UserPermission>AccessControlUtil.getUserPermissions(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol, byte[] namespace, String userName) Deprecated.UseAdmin.getUserPermissions(GetUserPermissionsRequest)instead.static List<UserPermission>AccessControlUtil.getUserPermissions(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol, String userName) Deprecated.UseAdmin.getUserPermissions(GetUserPermissionsRequest)instead.static List<UserPermission>AccessControlUtil.getUserPermissions(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol, TableName t) Deprecated.UseAdmin.getUserPermissions(GetUserPermissionsRequest)instead.static List<UserPermission>AccessControlUtil.getUserPermissions(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol, TableName t, byte[] columnFamily, byte[] columnQualifier, String userName) Deprecated.UseAdmin.getUserPermissions(GetUserPermissionsRequest)instead.static List<UserPermission>PermissionStorage.getUserPermissions(org.apache.hadoop.conf.Configuration conf, byte[] entryName, byte[] cf, byte[] cq, String user, boolean hasFilterUser) Returns the currently granted permissions for a given table/namespace with associated permissions based on the specified column family, column qualifier and user name.static List<UserPermission>PermissionStorage.getUserTablePermissions(org.apache.hadoop.conf.Configuration conf, TableName tableName, byte[] cf, byte[] cq, String userName, boolean hasFilterUser) Returns the currently granted permissions for a given table as the specified user plus associated permissions.(package private) static Map<byte[],org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String, UserPermission>> PermissionStorage.loadAll(org.apache.hadoop.conf.Configuration conf) Load all permissions from the region server holding_acl_, primarily intended for testing purposes.(package private) static Map<byte[],org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String, UserPermission>> Loads all of the permission grants stored in a region of the_acl_table.private static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,UserPermission> PermissionStorage.parsePermissions(byte[] entryName, Result result, byte[] cf, byte[] cq, String user, boolean hasFilterUser) Parse and filter permission based on the specified column family, column qualifier and user name.static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,UserPermission> PermissionStorage.readUserPermission(byte[] data, org.apache.hadoop.conf.Configuration conf) static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,UserPermission> AccessControlUtil.toUserPermission(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions proto) Convert a protobuf UserTablePermissions to a ListMultimap<Username, UserPermission>Methods in org.apache.hadoop.hbase.security.access with parameters of type UserPermissionModifier and TypeMethodDescription(package private) static voidPermissionStorage.addUserPermission(org.apache.hadoop.conf.Configuration conf, UserPermission userPerm, Table t) static voidPermissionStorage.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.static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequestShadedAccessControlUtil.buildGrantRequest(UserPermission userPermission, boolean mergeExistingPermissions) static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequestShadedAccessControlUtil.buildRevokeRequest(UserPermission userPermission) private booleanSnapshotScannerHDFSAclHelper.checkUserPermission(UserPermission userPermission) (package private) booleanSnapshotScannerHDFSAclHelper.containReadAction(UserPermission userPermission) booleanSnapshotScannerHDFSAclHelper.grantAcl(UserPermission userPermission, Set<String> skipNamespaces, Set<TableName> skipTables) Set acl when grant user permissionprivate voidSnapshotScannerHDFSAclHelper.handleGrantOrRevokeAcl(UserPermission userPermission, SnapshotScannerHDFSAclHelper.HDFSAclOperation.OperationType operationType, Set<String> skipNamespaces, Set<TableName> skipTables) voidSnapshotScannerHDFSAclController.postGrant(ObserverContext<MasterCoprocessorEnvironment> c, UserPermission userPermission, boolean mergeExistingPermissions) voidSnapshotScannerHDFSAclController.postRevoke(ObserverContext<MasterCoprocessorEnvironment> c, UserPermission userPermission) voidAccessController.preGrant(ObserverContext<MasterCoprocessorEnvironment> ctx, UserPermission userPermission, boolean mergeExistingPermissions) private voidAccessController.preGrantOrRevoke(User caller, String request, UserPermission userPermission) voidAccessController.preRevoke(ObserverContext<MasterCoprocessorEnvironment> ctx, UserPermission userPermission) private static voidPermissionStorage.removePermissionRecord(org.apache.hadoop.conf.Configuration conf, UserPermission userPerm, Table t) private voidSnapshotScannerHDFSAclController.removeUserGlobalHdfsAcl(Table aclTable, String userName, UserPermission userPermission) private voidSnapshotScannerHDFSAclController.removeUserNamespaceHdfsAcl(Table aclTable, String userName, String namespace, UserPermission userPermission) static voidPermissionStorage.removeUserPermission(org.apache.hadoop.conf.Configuration conf, UserPermission userPerm, Table t) Removes a previously granted permission from the stored access control lists.private voidSnapshotScannerHDFSAclController.removeUserTableHdfsAcl(Table aclTable, String userName, TableName tableName, UserPermission userPermission) booleanSnapshotScannerHDFSAclHelper.revokeAcl(UserPermission userPermission, Set<String> skipNamespaces, Set<TableName> skipTables) Remove acl when grant or revoke user permissionstatic org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermissionAccessControlUtil.toUserPermission(UserPermission perm) Convert a client user permission to a user permission protostatic org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermissionShadedAccessControlUtil.toUserPermission(UserPermission perm) Convert a client user permission to a user permission proto(package private) static byte[]PermissionStorage.userPermissionKey(UserPermission permission) Build qualifier key from user permission: username username,family username,family,qualifierMethod parameters in org.apache.hadoop.hbase.security.access with type arguments of type UserPermissionModifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponseAccessControlUtil.buildGetUserPermissionsResponse(List<UserPermission> permissions) Converts the permissions list into a protocol buffer GetUserPermissionsResponsestatic org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponseShadedAccessControlUtil.buildGetUserPermissionsResponse(List<UserPermission> permissions) SnapshotScannerHDFSAclHelper.getUsersWithReadAction(org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String, UserPermission> permissionMultimap) static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissionsAccessControlUtil.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 UserPermissionstatic org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissionsShadedAccessControlUtil.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 UserPermissionstatic byte[]PermissionStorage.writePermissionsAsBytes(org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String, UserPermission> perms, org.apache.hadoop.conf.Configuration conf) Writes a set of permissions asWritableinstances and returns the resulting byte array. -
Uses of UserPermission in org.apache.hadoop.hbase.thrift2.client
Methods in org.apache.hadoop.hbase.thrift2.client that return types with arguments of type UserPermissionModifier and TypeMethodDescriptionThriftAdmin.getUserPermissions(GetUserPermissionsRequest getUserPermissionsRequest) Methods in org.apache.hadoop.hbase.thrift2.client with parameters of type UserPermissionModifier and TypeMethodDescriptionvoidThriftAdmin.grant(UserPermission userPermission, boolean mergeExistingPermissions) voidThriftAdmin.revoke(UserPermission userPermission)
Admin.getUserPermissions(GetUserPermissionsRequest)instead.