Package | Description |
---|---|
org.apache.accumulo.core.client.admin | |
org.apache.accumulo.core.security |
Modifier and Type | Method and Description |
---|---|
void |
SecurityOperations.grantSystemPermission(String principal,
SystemPermission permission)
Grant a user a system permission
|
boolean |
SecurityOperations.hasSystemPermission(String principal,
SystemPermission perm)
Verify the user has a particular system permission
|
void |
SecurityOperations.revokeSystemPermission(String principal,
SystemPermission permission)
Revoke a system permission from a user
|
Modifier and Type | Method and Description |
---|---|
static SystemPermission |
SystemPermission.getPermissionById(byte id)
Gets the permission matching the given byte ID.
|
static SystemPermission |
SystemPermission.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SystemPermission[] |
SystemPermission.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(SystemPermission permission) |
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.