|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.security.AdminACLsManager
public class AdminACLsManager
| Constructor Summary | |
|---|---|
AdminACLsManager(org.apache.hadoop.conf.Configuration conf)
Constructs and initializes this AdminACLsManager |
|
| Method Summary | |
|---|---|
boolean |
areACLsEnabled()
Returns whether ACLs are enabled |
boolean |
checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI)
Returns whether the specified user/group has administrator access |
org.apache.hadoop.security.authorize.AccessControlList |
getAdminAcl()
Returns the internal structure used to maintain administrator ACLs |
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdminACLsManager(org.apache.hadoop.conf.Configuration conf)
conf - configuration for this object to use| Method Detail |
|---|
public org.apache.hadoop.security.UserGroupInformation getOwner()
public boolean areACLsEnabled()
YarnConfiguration.YARN_ACL_ENABLE,
YarnConfiguration.DEFAULT_YARN_ACL_ENABLEpublic org.apache.hadoop.security.authorize.AccessControlList getAdminAcl()
public boolean isAdmin(org.apache.hadoop.security.UserGroupInformation callerUGI)
callerUGI - user/group to to check
public boolean checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI)
callerUGI - user/group to to check
getAdminAcl(),
areACLsEnabled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||