lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cassandra Targett (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-11133) Basic Authentication Plugin is not working in solr 6.4
Date Fri, 21 Jul 2017 15:07:00 GMT

    [ https://issues.apache.org/jira/browse/SOLR-11133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16096347#comment-16096347
] 

Cassandra Targett commented on SOLR-11133:
------------------------------------------

Before filing a JIRA issue you should ask for help on the Solr user mailing list: https://lucene.apache.org/solr/community.html#mailing-lists-irc

When you post your message to the mailing list, be sure to include the {{security.json}} file
- from the error, I believe that is where the problem lies.

> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message