On 4/17/2013 1:20 AM, Maciej Pestka wrote:
Hi,

I've configured basic authentication on tomcat & my slave solr instance and it 
works.

Any idea how to configure slave to replicate properly with digest 
authentication?
on Solr WIKI I could find only basic authentication example:
http://wiki.apache.org/solr/SolrSecurity

solrconfig.xml (slave config):
                <str name="httpBasicAuthUser">username</str>
                <str name="httpBasicAuthPassword">password</str>

I'm pretty sure that basic auth is all that's supported. Right now, replication is the only internal solr communication that supports authentication. There is an issue to add it for all internal solr communication. The hope is to get it into 4.3. I don't know how likely that is to happen.

https://issues.apache.org/jira/browse/SOLR-4470

As implemented, this will only support basic authentication, but the issue notes say that adding digest wouldn't be a huge change. When this makes it into Solr (4.3 or 4.4) I wouldn't count on seeing digest until the next release, and only if there is enough desire in the community for the feature.

Thanks,
Shawn

Reply via email to