I am currently working on Solr in Standalone Mode. Since I'm a beginner on Solr I wanted to start the server with the command start -e techproducts. The core is well uploaded but a warning message appears: "Not all security plugins configured! authentication= disabled authorization = disabled. Solr is only as secure as you make it. Considere configuring authentication/authorization before exposing solr to users internal or external"
The problem is that I have already created my security.json, I have put it in the home directory and I have authenticated myself at the server entrance, so it's seems efficient. Why does this warning message keep appearing?
Try writing the security.json
file in the proper place, so that Solr can read during startup.
Visit the Dashboard page and look for the solr.solr.home
property which should look like this: -Dsolr.solr.home=/var/solr/data
, then you write the file to /var/solr/data/security.json
. Then restart Solr and during startup the console should show something like thi instead of the WARN:
INFO (main) [ ] o.a.s.c.CoreContainer Initializing authorization plugin: solr.RuleBasedAuthorizationPlugin
INFO (main) [ ] o.a.s.c.CoreContainer Initializing authentication plugin: solr.BasicAuthPlugin