Package org.apache.solr.common.cloud
Class SaslZkACLProvider
- java.lang.Object
- 
- org.apache.solr.common.cloud.SecurityAwareZkACLProvider
- 
- org.apache.solr.common.cloud.SaslZkACLProvider
 
 
- 
- All Implemented Interfaces:
- ZkACLProvider
 
 public class SaslZkACLProvider extends SecurityAwareZkACLProvider ZkACLProvider that gives all permissions for the user specified in System property "solr.authorization.superuser" (default: "solr") when using sasl, and gives read permissions for anyone else. Designed for a setup where configurations have already been set up and will not be modified, or where configuration changes are controlled via Solr APIs.
- 
- 
Field Summary- 
Fields inherited from class org.apache.solr.common.cloud.SecurityAwareZkACLProviderSECURITY_ZNODE_PATH, zkCredentialsInjector
 
- 
 - 
Constructor SummaryConstructors Constructor Description SaslZkACLProvider()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<org.apache.zookeeper.data.ACL>createNonSecurityACLsToAdd()protected List<org.apache.zookeeper.data.ACL>createSecurityACLsToAdd()- 
Methods inherited from class org.apache.solr.common.cloud.SecurityAwareZkACLProvidergetACLsToAdd, isSecurityZNodePath, setZkCredentialsInjector
 
- 
 
- 
- 
- 
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() - Specified by:
- createSecurityACLsToAddin class- SecurityAwareZkACLProvider
- Returns:
- Set of ACLs to return security-related znodes
 
 
- 
 
-