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()
ACLProvider
ZooDefs.Ids#OPEN_ACL_UNSAFE
).getDefaultAcl
in interface ACLProvider
getDefaultAcl
in interface InternalACLProvider
public List<org.apache.zookeeper.data.ACL> getAclForPath(String path)
ACLProvider
getAclForPath
in interface ACLProvider
getAclForPath
in interface InternalACLProvider
path
- path (NOTE: might be null)Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.