org.apache.hadoop.security
Class SecurityUtil.AccessControlList

java.lang.Object
  extended by org.apache.hadoop.security.SecurityUtil.AccessControlList
Enclosing class:
SecurityUtil

public static class SecurityUtil.AccessControlList
extends Object

Class representing a configured access control list.


Field Summary
static String WILDCARD_ACL_VALUE
           
 
Constructor Summary
SecurityUtil.AccessControlList(String aclString)
          Construct a new ACL from a String representation of the same.
 
Method Summary
 boolean allAllowed()
           
 Set<String> getGroups()
           
 Set<String> getUsers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WILDCARD_ACL_VALUE

public static final String WILDCARD_ACL_VALUE
See Also:
Constant Field Values
Constructor Detail

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
Method Detail

allAllowed

public boolean allAllowed()

getUsers

public Set<String> getUsers()

getGroups

public Set<String> getGroups()


Copyright © 2009 The Apache Software Foundation