| Modifier and Type | Method and Description |
|---|---|
static KMSACLs.Type |
KMSACLs.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KMSACLs.Type[] |
KMSACLs.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
KMSACLs.assertAccess(KMSACLs.Type aclType,
org.apache.hadoop.security.UserGroupInformation ugi,
KMS.KMSOp operation,
String key) |
boolean |
KMSACLs.hasAccess(KMSACLs.Type type,
org.apache.hadoop.security.UserGroupInformation ugi)
First Check if user is in ACL for the KMS operation, if yes, then
return true if user is not present in any configured blacklist for
the operation
|
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.