lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <>
Subject [jira] [Created] (SOLR-8440) Script support for enabling basic auth
Date Fri, 18 Dec 2015 12:06:46 GMT
Jan Høydahl created SOLR-8440:

             Summary: Script support for enabling basic auth
                 Key: SOLR-8440
             Project: Solr
          Issue Type: New Feature
          Components: scripts and tools
            Reporter: Jan Høydahl

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

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message