org.apache.hadoop.security
Class SecurityUtil.AccessControlList
java.lang.Object
org.apache.hadoop.security.SecurityUtil.AccessControlList
- Enclosing class:
- SecurityUtil
public static class SecurityUtil.AccessControlList
- extends Object
Class representing a configured access control list.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WILDCARD_ACL_VALUE
public static final String WILDCARD_ACL_VALUE
- See Also:
- Constant Field Values
SecurityUtil.AccessControlList
public SecurityUtil.AccessControlList(String aclString)
- Construct a new ACL from a String representation of the same.
The String is a a comma separated list of users and groups.
The user list comes first and is separated by a space followed
by the group list. For e.g. "user1,user2 group1,group2"
- Parameters:
aclString
- String representation of the ACL
allAllowed
public boolean allAllowed()
getUsers
public Set<String> getUsers()
getGroups
public Set<String> getGroups()
Copyright © 2009 The Apache Software Foundation