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