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:
org.apache.curator.framework.api.ACLProvider,org.apache.curator.utils.InternalACLProvider,ZkACLProvider
ZkACLProvider that gives all permissions for the user specified in System property
"solr.auth.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.SecurityAwareZkACLProvider
SECURITY_ZNODE_PATH, zkCredentialsInjector -
Constructor Summary
Constructors -
Method Summary
Methods 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
-
SaslZkACLProvider
public SaslZkACLProvider()
-
-
Method Details
-
createNonSecurityACLsToAdd
- Specified by:
createNonSecurityACLsToAddin classSecurityAwareZkACLProvider- Returns:
- Set of ACLs to return for non-security related znodes
-
createSecurityACLsToAdd
- Specified by:
createSecurityACLsToAddin classSecurityAwareZkACLProvider- Returns:
- Set of ACLs to return security-related znodes
-