Sunday, April 1, 2018

FW: Master Slave Replication of Solr with Basic Authentication

-----Original Message-----
From: Basheeruddin Ahmed (syedbahm) [mailto:syedbahm@cisco.com]
Sent: 25 March 2018 13:27
To: solr-user@lucene.apache.org
Subject: Master Slave Replication of Solr with Basic Authentication

Hello,
Seems even when we use Secuirty.json with BasicAuthentication Plugin as
documented here --
https://lucene.apache.org/solr/guide/7_2/basic-authentication-plugin.html
, which nicely encrypts the user password using SHA256 encryption, when it
comes to configuring the slave in a Master/Slave Index Replication Strategy,
the slave config requires to give the BasicAuthentication password in plain
text? Is it something I got wrong? But in my setup of HA with Master/Slave
replication it works in this manner.

https://lucene.apache.org/solr/guide/7_2/index-replication.html this also
indicates the config is in plain text.

<!-- If HTTP Basic authentication is enabled on the master, then the
slave
can be configured with the following -->

<str name="httpBasicAuthUser">username</str>
<str name="httpBasicAuthPassword">password</str>


Please let me know how I can use the same encrypted password as in
Security.json when setting up Master/Slave Replication for Solr.

Thx
-Syed Ahmed.

No comments:

Post a Comment