public class DefaultACLProvider extends Object implements ACLProvider
| Constructor and Description |
|---|
DefaultACLProvider() |
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.zookeeper.data.ACL> |
getAclForPath(String path)
Return the ACL list to use for the given path
|
List<org.apache.zookeeper.data.ACL> |
getDefaultAcl()
Return the ACL list to use by default (usually
ZooDefs.Ids#OPEN_ACL_UNSAFE). |
public List<org.apache.zookeeper.data.ACL> getDefaultAcl()
ACLProviderZooDefs.Ids#OPEN_ACL_UNSAFE).getDefaultAcl in interface ACLProvidergetDefaultAcl in interface org.apache.curator.utils.InternalACLProviderpublic List<org.apache.zookeeper.data.ACL> getAclForPath(String path)
ACLProvidergetAclForPath in interface ACLProvidergetAclForPath in interface org.apache.curator.utils.InternalACLProviderpath - path (NOTE: might be null)Copyright © 2011-2014 The Apache Software Foundation. All Rights Reserved.