public abstract class SecurityAwareZkACLProvider extends Object implements ZkACLProvider
ZkACLProvider
capable of returning a different set of
ACL
s for security-related znodes (default: subtree under /security)
vs non-security-related znodes.Modifier and Type | Field and Description |
---|---|
static String |
SECURITY_ZNODE_PATH |
Constructor and Description |
---|
SecurityAwareZkACLProvider() |
Modifier and Type | Method and Description |
---|---|
protected abstract List<org.apache.zookeeper.data.ACL> |
createNonSecurityACLsToAdd() |
protected abstract List<org.apache.zookeeper.data.ACL> |
createSecurityACLsToAdd() |
List<org.apache.zookeeper.data.ACL> |
getACLsToAdd(String zNodePath) |
protected boolean |
isSecurityZNodePath(String zNodePath) |
public static final String SECURITY_ZNODE_PATH
public List<org.apache.zookeeper.data.ACL> getACLsToAdd(String zNodePath)
getACLsToAdd
in interface ZkACLProvider
protected boolean isSecurityZNodePath(String zNodePath)
protected abstract List<org.apache.zookeeper.data.ACL> createNonSecurityACLsToAdd()
protected abstract List<org.apache.zookeeper.data.ACL> createSecurityACLsToAdd()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.