Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Now that BasicAuthPlugin will be able to work without an AuthorizationPlugin (SOLR-8429), it would be sweet to provide a super simple way to "Password protect Solr"™ right from the command line:
bin/solr basicAuth -adduser -user solr -pass SolrRocks
It would take the mystery out of enabling one single password across the board. The command would do something like this
- Check if HTTPS is enabled, and if not, print a friendly warning
- Check if /security.json already exists
- NO => create one with only plugin class defined
- YES => Abort if exists but plugin is not BasicAuthPlugin
- Using security REST API, add the new user
Attachments
Attachments
Issue Links
- depends upon
-
SOLR-8048 bin/solr script should accept user name and password for basicauth
- Closed
- is depended upon by
-
SOLR-10645 bin/solr auth command should support standalone solr
- Resolved
- requires
-
SOLR-10718 Configuring Basic auth prevents adding a collection
- Closed
-
SOLR-10644 solr.in.sh installed by install script should not be world readable
- Closed
-
SOLR-10646 bin/solr should not pass security credentials for start command
- Closed