Package | Description |
---|---|
org.apache.accumulo.core.client.admin | |
org.apache.accumulo.core.security |
Modifier and Type | Method and Description |
---|---|
void |
SecurityOperations.grantTablePermission(String principal,
String table,
TablePermission permission)
Grant a user a specific permission for a specific table
|
boolean |
SecurityOperations.hasTablePermission(String principal,
String table,
TablePermission perm)
Verify the user has a particular table permission
|
void |
SecurityOperations.revokeTablePermission(String principal,
String table,
TablePermission permission)
Revoke a table permission for a specific user on a specific table
|
Modifier and Type | Method and Description |
---|---|
static TablePermission |
TablePermission.getPermissionById(byte id)
Gets the permission matching the given byte ID.
|
static TablePermission |
TablePermission.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TablePermission[] |
TablePermission.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static NamespacePermission |
NamespacePermission.getEquivalent(TablePermission permission) |
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.