lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hrishikesh Gadre (JIRA)" <>
Subject [jira] [Updated] (SOLR-9997) Enable configuring SolrHttpClientBuilder via java system property
Date Wed, 08 Feb 2017 20:21:41 GMT


Hrishikesh Gadre updated SOLR-9997:
    Attachment: SOLR-9997_6x.patch

[] Here is the patch for branch_6x. Please take a look and let me know
if anything needed from my side.

> Enable configuring SolrHttpClientBuilder via java system property
> -----------------------------------------------------------------
>                 Key: SOLR-9997
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 6.3
>            Reporter: Hrishikesh Gadre
>            Assignee: Mark Miller
>         Attachments: SOLR-9997_6x.patch
> Currently SolrHttpClientBuilder needs to be configured via invoking HttpClientUtil#setHttpClientBuilder(...)
API. On the other hand SolrCLI attempts to support configuring SolrHttpClientBuilder via Java
system property.
> But after changes for SOLR-4509, this is no longer working. This is because we need to
configure HttpClientBuilderFactory which can provide appropriate SolrHttpClientBuilder instance
(e.g. Krb5HttpClientBuilder). I verified that SolrCLI does not work in a kerberos enabled
cluster. During the testing I also found that SolrCLI is hardcoded to use basic authentication,
> This jira is to add support for configuring HttpClientBuilderFactory as a java system
property so that SolrCLI as well as other Solr clients can also benefit this. Also we should
provide a HttpClientBuilderFactory which support configuring preemptive basic authentication
so that we can remove the hardcoded basic auth usage in SolrCLI (and enable it work with kerberos).

This message was sent by Atlassian JIRA

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

View raw message