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

public class DigestZkACLProvider extends SecurityAwareZkACLProvider
A class that expects a ZkCredentialsInjector to create Zookeeper ACLs using digest scheme
  • Constructor Details

    • DigestZkACLProvider

      public DigestZkACLProvider()
      Called by reflective instantiation
    • DigestZkACLProvider

      public DigestZkACLProvider(ZkCredentialsInjector zkCredentialsInjector)
  • Method Details

    • createNonSecurityACLsToAdd

      protected List<org.apache.zookeeper.data.ACL> createNonSecurityACLsToAdd()
      Specified by:
      createNonSecurityACLsToAdd in class SecurityAwareZkACLProvider
      Returns:
      Set of ACLs to return for non-security related znodes
    • createSecurityACLsToAdd

      protected List<org.apache.zookeeper.data.ACL> createSecurityACLsToAdd()
      Provider ACL Credential
      Specified by:
      createSecurityACLsToAdd in class SecurityAwareZkACLProvider
      Returns:
      Set of ACLs to return security-related znodes
    • createACLsToAdd

      protected List<org.apache.zookeeper.data.ACL> createACLsToAdd(boolean includeReadOnly)
    • createACLId

      protected org.apache.zookeeper.data.Id createACLId(String username, String password)