@InterfaceAudience.Private public class AdminACLsManager extends Object
Constructor and Description |
---|
AdminACLsManager(org.apache.hadoop.conf.Configuration conf)
Constructs and initializes this AdminACLsManager
|
Modifier and Type | Method and Description |
---|---|
boolean |
areACLsEnabled()
Returns whether ACLs are enabled
|
org.apache.hadoop.security.UserGroupInformation |
getOwner()
Returns the owner
|
boolean |
isAdmin(org.apache.hadoop.security.UserGroupInformation callerUGI)
Returns whether the specified user/group is an administrator
|
public AdminACLsManager(org.apache.hadoop.conf.Configuration conf)
conf
- configuration for this object to usepublic org.apache.hadoop.security.UserGroupInformation getOwner()
public boolean areACLsEnabled()
YarnConfiguration.YARN_ACL_ENABLE
,
YarnConfiguration.DEFAULT_YARN_ACL_ENABLE
public boolean isAdmin(org.apache.hadoop.security.UserGroupInformation callerUGI)
callerUGI
- user/group to to checkCopyright © 2008–2024 Apache Software Foundation. All rights reserved.