You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Furkan KAMACI <fu...@gmail.com> on 2015/03/21 00:20:06 UTC

How to use ConcurrentUpdateSolrServer for Secured Solr?

Is there anyway to use ConcurrentUpdateSolrServer for secured Solr as like
CloudSolrServer:

HttpClientUtil.setBasicAuth(cloudSolrServer.getLbServer().getHttpClient(),
<username>, <password>);

I see that there is no way to access HTTPClient for
ConcurrentUpdateSolrServer?

Kind Regards,
Furkan KAMACI

Re: How to use ConcurrentUpdateSolrServer for Secured Solr?

Posted by Mark Miller <ma...@gmail.com>.
Doesn't ConcurrentUpdateSolrServer take an HttpClient in one of it's
constructors?

- Mark

On Sun, Mar 22, 2015 at 3:40 PM Ramkumar R. Aiyengar <
andyetitmoves@gmail.com> wrote:

> Not a direct answer, but Anshum just created this..
>
> https://issues.apache.org/jira/browse/SOLR-7275
>  On 20 Mar 2015 23:21, "Furkan KAMACI" <fu...@gmail.com> wrote:
>
> > Is there anyway to use ConcurrentUpdateSolrServer for secured Solr as
> like
> > CloudSolrServer:
> >
> > HttpClientUtil.setBasicAuth(cloudSolrServer.getLbServer().
> getHttpClient(),
> > <username>, <password>);
> >
> > I see that there is no way to access HTTPClient for
> > ConcurrentUpdateSolrServer?
> >
> > Kind Regards,
> > Furkan KAMACI
> >
>

Re: How to use ConcurrentUpdateSolrServer for Secured Solr?

Posted by "Ramkumar R. Aiyengar" <an...@gmail.com>.
Not a direct answer, but Anshum just created this..

https://issues.apache.org/jira/browse/SOLR-7275
 On 20 Mar 2015 23:21, "Furkan KAMACI" <fu...@gmail.com> wrote:

> Is there anyway to use ConcurrentUpdateSolrServer for secured Solr as like
> CloudSolrServer:
>
> HttpClientUtil.setBasicAuth(cloudSolrServer.getLbServer().getHttpClient(),
> <username>, <password>);
>
> I see that there is no way to access HTTPClient for
> ConcurrentUpdateSolrServer?
>
> Kind Regards,
> Furkan KAMACI
>