My guess is you could provide the credentials to the underlying HttpClient 
(used by SolrJ), and let it do the authentication.  I don't have the API handy, 
sorry.
But this may slow things down and I have to wonder if you really really need 
authentication there or whether using HTTP authentication is the best way to do 
it.


Otis --
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: Allahbaksh Asadullah <allahbaks...@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Saturday, April 25, 2009 9:31:35 AM
> Subject: Authenticated Indexing Not working
> 
> Hi, I have configured basic authentication in Solr using web.xml. It is
> working fine when I search using SolrJ. But when I try to index with
> Authentication enabled using SolrJ it is throwing exception.
> 
> Is secured indexing is not enabled? How I am suppose to use secured
> indexing.
> 
> Regards,
> Allahbaksh

Reply via email to