I've not figured out a way to use basic auth with replication. We
ended up using IP based auth, it shouldn't be too tricky to add
basicauth support as, IIRC, the replication is based on the commons
httpclient library.
On 27 May 2009, at 15:17, Matthew Gregg wrote:
On Wed, 2009-05-27 at 19:06 +0530, Noble Paul നോബിള്
नोब्ळ् wrote:
On Wed, May 27, 2009 at 6:48 PM, Matthew Gregg <matthew.gr...@gmail.com
> wrote:
Does replication in 1.4 support passing credentials/basic auth?
If not
what is the best option to protect replication?
do you mean protecting the url /replication ?
Yes I would like to put /replication behind basic auth, which I can
do,
but replication fails. I naively tried the obvious
http://user:p...@host/replication, but that fails.
ideally Solr is expected to run in an unprotected environment. if you
wish to introduce some security it has to be built by you.
I guess you meant Solr is expected to run in a "protected"
environment?
It's pretty easy to put up a basic auth in front of Solr, but the
replication infra. in 1.4 doesn't seem to support it. Or does it,
and I
just don't know how?
--
Matthew Gregg <matthew.gr...@gmail.com>
Toby Cole
Software Engineer
Semantico
Lees House, Floor 1, 21-23 Dyke Road, Brighton BN1 3FE
W: www.semantico.com