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:
- ZkACLProvider
 
 public class DigestZkACLProvider extends SecurityAwareZkACLProvider A class that expects aZkCredentialsInjectorto create Zookeeper ACLs using digest scheme
- 
- 
Field Summary- 
Fields inherited from class org.apache.solr.common.cloud.SecurityAwareZkACLProviderSECURITY_ZNODE_PATH, zkCredentialsInjector
 
- 
 - 
Constructor SummaryConstructors Constructor Description DigestZkACLProvider()Called by reflective instantiationDigestZkACLProvider(ZkCredentialsInjector zkCredentialsInjector)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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>createNonSecurityACLsToAdd()protected List<org.apache.zookeeper.data.ACL>createSecurityACLsToAdd()Provider ACL Credential- 
Methods inherited from class org.apache.solr.common.cloud.SecurityAwareZkACLProvidergetACLsToAdd, isSecurityZNodePath, setZkCredentialsInjector
 
- 
 
- 
- 
- 
Constructor Detail- 
DigestZkACLProviderpublic DigestZkACLProvider() Called by reflective instantiation
 - 
DigestZkACLProviderpublic DigestZkACLProvider(ZkCredentialsInjector zkCredentialsInjector) 
 
- 
 - 
Method Detail- 
createNonSecurityACLsToAddprotected List<org.apache.zookeeper.data.ACL> createNonSecurityACLsToAdd() - Specified by:
- createNonSecurityACLsToAddin class- SecurityAwareZkACLProvider
- Returns:
- Set of ACLs to return for non-security related znodes
 
 - 
createSecurityACLsToAddprotected List<org.apache.zookeeper.data.ACL> createSecurityACLsToAdd() Provider ACL Credential- Specified by:
- createSecurityACLsToAddin class- SecurityAwareZkACLProvider
- Returns:
- Set of ACLs to return security-related znodes
 
 - 
createACLsToAddprotected List<org.apache.zookeeper.data.ACL> createACLsToAdd(boolean includeReadOnly) 
 
- 
 
-