adeppa created SOLR-11133:
-----------------------------

             Summary: Basic Authentication Plugin is not working in solr 6.4
                 Key: SOLR-11133
                 URL: https://issues.apache.org/jira/browse/SOLR-11133
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: security
    Affects Versions: 6.4
         Environment: solr 6.4.0 ,java 1.8, MAC system
            Reporter: adeppa


I am try to enable Basic Authentication Plugin in solr 6.4.0 using the below 
configuration 

Step-1 Creates security.json file in solr location i.e where is solr.xml 
Step-2 edit the solr.in.sh file adding the 
SOLR_AUTHENTICATION_CLIENT_CONFIGURER="org.apache.solr.client.solrj.impl.PreemptiveBasicAuthConfigurer"
SOLR_AUTHENTICATION_OPTS="-Dbasicauth=solr:SolrRocks"

step-3 restart server 
step-4 try to adding the user using the htpp call 
curl --user solr:SolrRocks http://localhost:8983/solr/admin/authentication -H 
'Content-type:application/json' -d '{
  "set-user": {"tom" : "TomIsCool" ,
               "harry":"HarrysSecret"}}'
i am getting back error like 

{
  "responseHeader":{
    "status":400,
    "QTime":7},
  "error":{
    "metadata":[
      "error-class","org.apache.solr.common.SolrException",
      "root-error-class","org.apache.solr.common.SolrException"],
    "msg":"No authentication plugin configured",
    "code":400}}
please help me how resolve this 




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to