Package org.apache.solr.common.cloud
Class VMParamsAllAndReadonlyDigestZkACLProvider
- java.lang.Object
-
- org.apache.solr.common.cloud.SecurityAwareZkACLProvider
-
- org.apache.solr.common.cloud.VMParamsAllAndReadonlyDigestZkACLProvider
-
- All Implemented Interfaces:
ZkACLProvider
public class VMParamsAllAndReadonlyDigestZkACLProvider extends SecurityAwareZkACLProvider
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_DIGEST_READONLY_PASSWORD_VM_PARAM_NAME
static String
DEFAULT_DIGEST_READONLY_USERNAME_VM_PARAM_NAME
-
Fields inherited from class org.apache.solr.common.cloud.SecurityAwareZkACLProvider
SECURITY_ZNODE_PATH
-
-
Constructor Summary
Constructors Constructor Description VMParamsAllAndReadonlyDigestZkACLProvider()
VMParamsAllAndReadonlyDigestZkACLProvider(String zkDigestAllUsernameVMParamName, String zkDigestAllPasswordVMParamName, String zkDigestReadonlyUsernameVMParamName, String zkDigestReadonlyPasswordVMParamName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 testsprotected List<org.apache.zookeeper.data.ACL>
createNonSecurityACLsToAdd()
protected List<org.apache.zookeeper.data.ACL>
createSecurityACLsToAdd()
-
Methods inherited from class org.apache.solr.common.cloud.SecurityAwareZkACLProvider
getACLsToAdd, isSecurityZNodePath
-
-
-
-
Field Detail
-
DEFAULT_DIGEST_READONLY_USERNAME_VM_PARAM_NAME
public static final String DEFAULT_DIGEST_READONLY_USERNAME_VM_PARAM_NAME
- See Also:
- Constant Field Values
-
DEFAULT_DIGEST_READONLY_PASSWORD_VM_PARAM_NAME
public static final String DEFAULT_DIGEST_READONLY_PASSWORD_VM_PARAM_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
createNonSecurityACLsToAdd
protected List<org.apache.zookeeper.data.ACL> createNonSecurityACLsToAdd()
- Specified by:
createNonSecurityACLsToAdd
in classSecurityAwareZkACLProvider
- Returns:
- Set of ACLs to return for non-security related znodes
-
createSecurityACLsToAdd
protected List<org.apache.zookeeper.data.ACL> createSecurityACLsToAdd()
- Specified by:
createSecurityACLsToAdd
in classSecurityAwareZkACLProvider
- Returns:
- Set of ACLs to return security-related znodes
-
createACLsToAdd
protected List<org.apache.zookeeper.data.ACL> createACLsToAdd(boolean includeReadOnly)
-
-