[
https://issues.apache.org/jira/browse/SOLR-8053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14745585#comment-14745585
]
Noble Paul commented on SOLR-8053:
----------------------------------
bq.but could you explain a little about how this works in with the existing
basic auth stuff in HttpClientUtil
This was a hack introduced to add the basic auth headers when Solr makes
inter-node requests. After 5.3 we have native support for inter-node
authentication. This lets you to have only one user/pwd combination in the
entire cluster which meant all requests were performed as same user
IMHO we should deprecate this.
This ticket makes the user/pwd configurable of a per request basis.
{code:java}
SolrRequest req ;//create anew request object
req.setBasicAuthCredentials(userName, password);
solrClient.request(req);
{code}
> support basic auth in SolrJ
> ---------------------------
>
> Key: SOLR-8053
> URL: https://issues.apache.org/jira/browse/SOLR-8053
> Project: Solr
> Issue Type: Improvement
> Reporter: Noble Paul
> Assignee: Noble Paul
> Priority: Minor
> Fix For: Trunk, 5.4
>
> Attachments: SOLR-8053.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]