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 Fuad Efendi <fu...@efendi.ca> on 2009/10/01 23:33:29 UTC

Authentication/Authorization with Master-Slave over HTTP

Is that possible? Implemented?

I want to be able to have SOLR Slave instance on publicly available host
(accessible via HTTP), and synchronize with Master securely (via HTTP)

I had it implicitly with cron jobs running as 'root' user, and Tomcat as
'tomcat'... Slave wasn't able to update index because of file system
permissions... but now, I want to move instances far (Master in LAB, and
Slave at Hosting Company) - and I want to secure it...


Thanks,
FUad
http://www.linkedin.com/in/liferay





Re: Authentication/Authorization with Master-Slave over HTTP

Posted by Chris Hostetter <ho...@fucit.org>.
: I want to be able to have SOLR Slave instance on publicly available host
: (accessible via HTTP), and synchronize with Master securely (via HTTP)

HTTP based replication only works with the the new ReplicationHandler ... 
if you setup a proxy in front of your Master (either as a seperate daemon, 
or using a custom ServletFilter, or by runing on special settings in your 
ServletCOntainer) that can require HTTP Basic Authentication you cna 
then configure the slave to use an arbitrary usernam/password of your 
choice (look for the httpBasicAuthUser/httpBasicAuthPassword in the 
example slave configs)


-Hoss