Package org.apache.solr.common.cloud
Class DigestZkACLProvider
java.lang.Object
org.apache.solr.common.cloud.SecurityAwareZkACLProvider
org.apache.solr.common.cloud.DigestZkACLProvider
- All Implemented Interfaces:
org.apache.curator.framework.api.ACLProvider,org.apache.curator.utils.InternalACLProvider,ZkACLProvider
A class that expects a
ZkCredentialsInjector to create Zookeeper ACLs using digest scheme-
Field Summary
Fields inherited from class org.apache.solr.common.cloud.SecurityAwareZkACLProvider
SECURITY_ZNODE_PATH, zkCredentialsInjector -
Constructor Summary
ConstructorsConstructorDescriptionCalled by reflective instantiationDigestZkACLProvider(ZkCredentialsInjector zkCredentialsInjector) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.zookeeper.data.IdcreateACLId(String username, String password) protected List<org.apache.zookeeper.data.ACL> createACLsToAdd(boolean includeReadOnly) protected List<org.apache.zookeeper.data.ACL> protected List<org.apache.zookeeper.data.ACL> Provider ACL CredentialMethods inherited from class org.apache.solr.common.cloud.SecurityAwareZkACLProvider
getACLsToAdd, getDefaultAcl, isSecurityZNodePath, setZkCredentialsInjector, withChrootMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.solr.common.cloud.ZkACLProvider
getAclForPath
-
Constructor Details
-
DigestZkACLProvider
public DigestZkACLProvider()Called by reflective instantiation -
DigestZkACLProvider
-
-
Method Details
-
createNonSecurityACLsToAdd
- Specified by:
createNonSecurityACLsToAddin classSecurityAwareZkACLProvider- Returns:
- Set of ACLs to return for non-security related znodes
-
createSecurityACLsToAdd
Provider ACL Credential- Specified by:
createSecurityACLsToAddin classSecurityAwareZkACLProvider- Returns:
- Set of ACLs to return security-related znodes
-
createACLsToAdd
-
createACLId
-