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:
org.apache.curator.framework.api.ACLProvider,org.apache.curator.utils.InternalACLProvider,ZkACLProvider
@Deprecated
public class VMParamsAllAndReadonlyDigestZkACLProvider
extends SecurityAwareZkACLProvider
implements ZkACLProvider
Deprecated.
Deprecated in favor of a combination of
DigestZkACLProvider and VMParamsZkCredentialsInjector.
Current implementation delegates toDigestZkACLProviderwith an injectedVMParamsZkCredentialsInjector
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.Fields inherited from class org.apache.solr.common.cloud.SecurityAwareZkACLProvider
SECURITY_ZNODE_PATH, zkCredentialsInjector -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.VMParamsAllAndReadonlyDigestZkACLProvider(String zkDigestAllUsernameVMParamName, String zkDigestAllPasswordVMParamName, String zkDigestReadonlyUsernameVMParamName, String zkDigestReadonlyPasswordVMParamName) Deprecated.VMParamsAllAndReadonlyDigestZkACLProvider(ZkCredentialsInjector zkCredentialsInjector) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected List<org.apache.zookeeper.data.ACL> Deprecated.protected List<org.apache.zookeeper.data.ACL> Deprecated.voidsetZkCredentialsInjector(ZkCredentialsInjector zkCredentialsInjector) Deprecated.Methods inherited from class org.apache.solr.common.cloud.SecurityAwareZkACLProvider
getACLsToAdd, getDefaultAcl, isSecurityZNodePath, withChrootMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.curator.framework.api.ACLProvider
getDefaultAclMethods inherited from interface org.apache.solr.common.cloud.ZkACLProvider
getAclForPath, getACLsToAdd
-
Field Details
-
DEFAULT_DIGEST_USERNAME_VM_PARAM_NAME
Deprecated.- See Also:
-
DEFAULT_DIGEST_PASSWORD_VM_PARAM_NAME
Deprecated.- See Also:
-
DEFAULT_DIGEST_READONLY_USERNAME_VM_PARAM_NAME
Deprecated.- See Also:
-
DEFAULT_DIGEST_READONLY_PASSWORD_VM_PARAM_NAME
Deprecated.- See Also:
-
DEFAULT_DIGEST_FILE_VM_PARAM_NAME
Deprecated.- See Also:
-
-
Constructor Details
-
VMParamsAllAndReadonlyDigestZkACLProvider
public VMParamsAllAndReadonlyDigestZkACLProvider()Deprecated. -
VMParamsAllAndReadonlyDigestZkACLProvider
Deprecated. -
VMParamsAllAndReadonlyDigestZkACLProvider
public VMParamsAllAndReadonlyDigestZkACLProvider(String zkDigestAllUsernameVMParamName, String zkDigestAllPasswordVMParamName, String zkDigestReadonlyUsernameVMParamName, String zkDigestReadonlyPasswordVMParamName) Deprecated.
-
-
Method Details
-
setZkCredentialsInjector
Deprecated.- Specified by:
setZkCredentialsInjectorin interfaceZkACLProvider- Overrides:
setZkCredentialsInjectorin classSecurityAwareZkACLProvider- Parameters:
zkCredentialsInjector- The ZkCredentialsInjector that injects ZK credentials
-
createNonSecurityACLsToAdd
Deprecated.- Specified by:
createNonSecurityACLsToAddin classSecurityAwareZkACLProvider- Returns:
- Set of ACLs to return for non-security related znodes
-
createSecurityACLsToAdd
Deprecated.- Specified by:
createSecurityACLsToAddin classSecurityAwareZkACLProvider- Returns:
- Set of ACLs to return security-related znodes
-