|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use TablePermission | |
|---|---|
| org.apache.hadoop.hbase.protobuf | Holds classes generated from protobuf
src/main/protobuf definition files. |
| org.apache.hadoop.hbase.security.access | |
| Uses of TablePermission in org.apache.hadoop.hbase.protobuf |
|---|
| Methods in org.apache.hadoop.hbase.protobuf that return TablePermission | |
|---|---|
static TablePermission |
ProtobufUtil.toTablePermission(AccessControlProtos.Permission proto)
Converts a Permission proto to a client TablePermission object. |
| Methods in org.apache.hadoop.hbase.protobuf that return types with arguments of type TablePermission | |
|---|---|
static com.google.common.collect.ListMultimap<String,TablePermission> |
ProtobufUtil.toUserTablePermissions(AccessControlProtos.UsersAndPermissions proto)
Convert a protobuf UserTablePermissions to a ListMultimap |
| Method parameters in org.apache.hadoop.hbase.protobuf with type arguments of type TablePermission | |
|---|---|
static AccessControlProtos.UsersAndPermissions |
ProtobufUtil.toUserTablePermissions(com.google.common.collect.ListMultimap<String,TablePermission> perm)
Convert a ListMultimap |
| Uses of TablePermission in org.apache.hadoop.hbase.security.access |
|---|
| Subclasses of TablePermission in org.apache.hadoop.hbase.security.access | |
|---|---|
class |
UserPermission
Represents an authorization for access over the given table, column family plus qualifier, for the given user. |
| Methods in org.apache.hadoop.hbase.security.access that return types with arguments of type TablePermission | |
|---|---|
static com.google.common.collect.ListMultimap<String,TablePermission> |
AccessControlLists.readPermissions(byte[] data,
org.apache.hadoop.conf.Configuration conf)
Reads a set of permissions as Writable instances
from the input stream. |
| Method parameters in org.apache.hadoop.hbase.security.access with type arguments of type TablePermission | |
|---|---|
void |
TableAuthManager.setNamespaceGroupPermissions(String group,
String namespace,
List<TablePermission> perms)
Overwrites the existing permission set for a group and triggers an update for zookeeper synchronization. |
void |
TableAuthManager.setNamespaceUserPermissions(String username,
String namespace,
List<TablePermission> perms)
Overwrites the existing permission set for a given user for a table, and triggers an update for zookeeper synchronization. |
void |
TableAuthManager.setTableGroupPermissions(String group,
TableName table,
List<TablePermission> perms)
Overwrites the existing permission set for a group and triggers an update for zookeeper synchronization. |
void |
TableAuthManager.setTableUserPermissions(String username,
TableName table,
List<TablePermission> perms)
Overwrites the existing permission set for a given user for a table, and triggers an update for zookeeper synchronization. |
void |
TableAuthManager.writeNamespaceToZooKeeper(String namespace,
org.apache.hadoop.hbase.security.access.TableAuthManager.PermissionCache<TablePermission> tablePerms)
|
static byte[] |
AccessControlLists.writePermissionsAsBytes(com.google.common.collect.ListMultimap<String,TablePermission> perms,
org.apache.hadoop.conf.Configuration conf)
Writes a set of permissions as Writable instances
and returns the resulting byte array. |
void |
TableAuthManager.writeTableToZooKeeper(TableName table,
org.apache.hadoop.hbase.security.access.TableAuthManager.PermissionCache<TablePermission> tablePerms)
|
| Constructors in org.apache.hadoop.hbase.security.access with parameters of type TablePermission | |
|---|---|
UserPermission(byte[] user,
TablePermission perm)
Creates a new instance for the given user, table, column family and qualifier, matching the actions with the given codes. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||