HI Otis,
I am using HTTPClient for authentication. When I use the server with
Authentication for searching it works fine. But when I use it for
indexing it throws error.
Regards,
Allahbaksh

On 4/25/09, Otis Gospodnetic <otis_gospodne...@yahoo.com> wrote:
>
> 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
>
>


-- 
Allahbaksh Mohammedali Asadullah,
Software Engineering & Technology Labs,
Infosys Technolgies Limited, Electronic City,
Hosur Road, Bangalore 560 100, India.
(Board: 91-80-28520261 | Extn: 73927 | Direct: 41173927.
Fax: 91-80-28520362 | Mobile: 91-9845505322.

Reply via email to