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
@Deprecated public class VMParamsAllAndReadonlyDigestZkACLProvider extends SecurityAwareZkACLProvider implements ZkACLProvider
Deprecated.Deprecated in favor of a combination ofDigestZkACLProvider
andVMParamsZkCredentialsInjector
.Current implementation delegates to
DigestZkACLProvider
with an injectedVMParamsZkCredentialsInjector
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_DIGEST_FILE_VM_PARAM_NAME
Deprecated.static String
DEFAULT_DIGEST_PASSWORD_VM_PARAM_NAME
Deprecated.static String
DEFAULT_DIGEST_READONLY_PASSWORD_VM_PARAM_NAME
Deprecated.static String
DEFAULT_DIGEST_READONLY_USERNAME_VM_PARAM_NAME
Deprecated.static String
DEFAULT_DIGEST_USERNAME_VM_PARAM_NAME
Deprecated.-
Fields inherited from class org.apache.solr.common.cloud.SecurityAwareZkACLProvider
SECURITY_ZNODE_PATH
-
-
Constructor Summary
Constructors Constructor Description VMParamsAllAndReadonlyDigestZkACLProvider()
Deprecated.VMParamsAllAndReadonlyDigestZkACLProvider(String zkDigestAllUsernameVMParamName, String zkDigestAllPasswordVMParamName, String zkDigestReadonlyUsernameVMParamName, String zkDigestReadonlyPasswordVMParamName)
Deprecated.VMParamsAllAndReadonlyDigestZkACLProvider(ZkCredentialsInjector zkCredentialsInjector)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected List<org.apache.zookeeper.data.ACL>
createNonSecurityACLsToAdd()
Deprecated.protected List<org.apache.zookeeper.data.ACL>
createSecurityACLsToAdd()
Deprecated.void
setZkCredentialsInjector(ZkCredentialsInjector zkCredentialsInjector)
Deprecated.-
Methods inherited from class org.apache.solr.common.cloud.SecurityAwareZkACLProvider
getACLsToAdd, isSecurityZNodePath
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.solr.common.cloud.ZkACLProvider
getACLsToAdd
-
-
-
-
Field Detail
-
DEFAULT_DIGEST_USERNAME_VM_PARAM_NAME
@Deprecated public static final String DEFAULT_DIGEST_USERNAME_VM_PARAM_NAME
Deprecated.- See Also:
- Constant Field Values
-
DEFAULT_DIGEST_PASSWORD_VM_PARAM_NAME
@Deprecated public static final String DEFAULT_DIGEST_PASSWORD_VM_PARAM_NAME
Deprecated.- See Also:
- Constant Field Values
-
DEFAULT_DIGEST_READONLY_USERNAME_VM_PARAM_NAME
@Deprecated public static final String DEFAULT_DIGEST_READONLY_USERNAME_VM_PARAM_NAME
Deprecated.- See Also:
- Constant Field Values
-
DEFAULT_DIGEST_READONLY_PASSWORD_VM_PARAM_NAME
@Deprecated public static final String DEFAULT_DIGEST_READONLY_PASSWORD_VM_PARAM_NAME
Deprecated.- See Also:
- Constant Field Values
-
DEFAULT_DIGEST_FILE_VM_PARAM_NAME
@Deprecated public static final String DEFAULT_DIGEST_FILE_VM_PARAM_NAME
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
VMParamsAllAndReadonlyDigestZkACLProvider
public VMParamsAllAndReadonlyDigestZkACLProvider()
Deprecated.
-
VMParamsAllAndReadonlyDigestZkACLProvider
public VMParamsAllAndReadonlyDigestZkACLProvider(ZkCredentialsInjector zkCredentialsInjector)
Deprecated.
-
-
Method Detail
-
setZkCredentialsInjector
public void setZkCredentialsInjector(ZkCredentialsInjector zkCredentialsInjector)
Deprecated.- Specified by:
setZkCredentialsInjector
in interfaceZkACLProvider
- Overrides:
setZkCredentialsInjector
in classSecurityAwareZkACLProvider
- Parameters:
zkCredentialsInjector
- The ZkCredentialsInjector that injects ZK credentials
-
createNonSecurityACLsToAdd
protected List<org.apache.zookeeper.data.ACL> createNonSecurityACLsToAdd()
Deprecated.- 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()
Deprecated.- Specified by:
createSecurityACLsToAdd
in classSecurityAwareZkACLProvider
- Returns:
- Set of ACLs to return security-related znodes
-
-