public static interface KeyAuthorizationKeyProvider.KeyACLs
KeyAuthorizationKeyProvider.| Modifier and Type | Method and Description |
|---|---|
boolean |
hasAccessToKey(String aclName,
org.apache.hadoop.security.UserGroupInformation ugi,
KeyAuthorizationKeyProvider.KeyOpType opType)
This is called by the KeyProvider to check if the given user is
authorized to perform the specified operation on the given acl name.
|
boolean |
isACLPresent(String aclName,
KeyAuthorizationKeyProvider.KeyOpType opType) |
boolean hasAccessToKey(String aclName, org.apache.hadoop.security.UserGroupInformation ugi, KeyAuthorizationKeyProvider.KeyOpType opType)
aclName - name of the key ACLugi - User's UserGroupInformationopType - Operation Typeboolean isACLPresent(String aclName, KeyAuthorizationKeyProvider.KeyOpType opType)
aclName - ACL nameopType - Operation TypeCopyright © 2008–2020 Apache Software Foundation. All rights reserved.