public class RuleBasedZooKeeperAclProvider extends Object implements org.apache.curator.framework.api.ACLProvider
The permissions for all rules that match a path apply. For example if there are two rules:
Then ACLs will be set so that user1 can create and delete nodes on the /foo/bar node, but he can not delete nodes under the /foo node.
| Modifier and Type | Class and Description |
|---|---|
static class |
RuleBasedZooKeeperAclProvider.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RuleBasedZooKeeperAclProvider.Builder |
builder() |
List<org.apache.zookeeper.data.ACL> |
getAclForPath(String path) |
List<org.apache.zookeeper.data.ACL> |
getDefaultAcl() |
public static RuleBasedZooKeeperAclProvider.Builder builder()
public List<org.apache.zookeeper.data.ACL> getDefaultAcl()
getDefaultAcl in interface org.apache.curator.framework.api.ACLProvidergetDefaultAcl in interface org.apache.curator.utils.InternalACLProviderCopyright © 2017. All rights reserved.