How can I customize Solr authentication?
Someone asked us to configure Solr authentication to give everyone read access but restrict write access to authenticated users.
The SearchStax team provided a modified security.json file that produced the desired behavior.
The user was cautioned not to turn authentication off and on again via the SearchStax dashboard, since turning on authentication overwrites the existing security.json file with a default file.
To view the security.json file, use this zkcli script command:
./zkcli.sh -zkhost <zookeeper url> -cmd get /security.json > security.jsonFor further information see the Rule-Based Authorization Plugin page in the Solr documentation.
We love to answer questions!
Please contact the SearchStax Support Desk immediately if you have any question about Solr Cloud deployments.
Return to Frequently Asked Questions.