Package | Description |
---|---|
org.apache.hadoop.hbase.security.access |
Modifier and Type | Class and Description |
---|---|
class |
UserPermission
Represents an authorization for access over the given table, column family
plus qualifier, for the given user.
|
Modifier and Type | Method and Description |
---|---|
static TablePermission |
ShadedAccessControlUtil.toTablePermission(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission proto)
Converts a Permission shaded proto to a client TablePermission object.
|
static TablePermission |
AccessControlUtil.toTablePermission(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission proto)
Converts a Permission proto to a client TablePermission object.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,TablePermission> |
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.
|
static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,TablePermission> |
AccessControlUtil.toUserTablePermissions(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions proto)
Convert a protobuf UserTablePermissions to a
ListMultimap<String, TablePermission> where key is username.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TablePermission.tableFieldsEqual(TablePermission other) |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions |
ShadedAccessControlUtil.toUserTablePermissions(org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,TablePermission> 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,TablePermission> perm)
Convert a ListMultimap<String, TablePermission> where key is username
to a protobuf UserPermission
|
Constructor and Description |
---|
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.
|
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.