public class VMParamsAllAndReadonlyDigestZkACLProvider extends SecurityAwareZkACLProvider
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_DIGEST_READONLY_PASSWORD_VM_PARAM_NAME |
static String |
DEFAULT_DIGEST_READONLY_USERNAME_VM_PARAM_NAME |
SECURITY_ZNODE_PATH
Constructor and Description |
---|
VMParamsAllAndReadonlyDigestZkACLProvider() |
VMParamsAllAndReadonlyDigestZkACLProvider(String zkDigestAllUsernameVMParamName,
String zkDigestAllPasswordVMParamName,
String zkDigestReadonlyUsernameVMParamName,
String zkDigestReadonlyPasswordVMParamName) |
Modifier and Type | Method and Description |
---|---|
protected List<org.apache.zookeeper.data.ACL> |
createACLsToAdd(boolean includeReadOnly) |
protected List<org.apache.zookeeper.data.ACL> |
createACLsToAdd(boolean includeReadOnly,
String digestAllUsername,
String digestAllPassword,
String digestReadonlyUsername,
String digestReadonlyPassword)
Note: only used for tests
|
protected List<org.apache.zookeeper.data.ACL> |
createNonSecurityACLsToAdd() |
protected List<org.apache.zookeeper.data.ACL> |
createSecurityACLsToAdd() |
getACLsToAdd, isSecurityZNodePath
public static final String DEFAULT_DIGEST_READONLY_USERNAME_VM_PARAM_NAME
public static final String DEFAULT_DIGEST_READONLY_PASSWORD_VM_PARAM_NAME
public VMParamsAllAndReadonlyDigestZkACLProvider()
protected List<org.apache.zookeeper.data.ACL> createNonSecurityACLsToAdd()
createNonSecurityACLsToAdd
in class SecurityAwareZkACLProvider
protected List<org.apache.zookeeper.data.ACL> createSecurityACLsToAdd()
createSecurityACLsToAdd
in class SecurityAwareZkACLProvider
protected List<org.apache.zookeeper.data.ACL> createACLsToAdd(boolean includeReadOnly)
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.