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 Prasad Bodapati <pr...@pb.com> on 2015/08/20 13:46:35 UTC
SOLR to SOLR communication with custom authentication
Hi All,
We have cluster environment on JBOSS, All of our deployed applications are protected by OpenAM including SOLR. On Slave nodes we enabled SOLR to communicate with master nodes to get data.
Since the SOLR on master is protected with OpenAM slave can't talk to it. In Solr.xml there is a way to configure replication requests to use basic HTTP authentication but not to use custom authentication.
I have tried to override ReplicationHandler and SnapPuller classes to use provide custom authentication but I couldn't.
I have tried to follow instructions at https://wiki.apache.org/solr/SolrSecurity but I could not find the classes org.apache.solr.security.InterSolrNodeAuthCredentialsFactory.SubRequestFactory and org.apache.solr.security.InterSolrNodeAuthCredentialsFactory.SubRequestFactory.
Have anyone of you used custom authentication before for replocation ? Any help would be greatly appreciated.
Environment
SOLR version: 4.10.2 (We can't upgrade at moment as we use Java 7)
JBOSS 6.2 EAP
Thanks,
Prasad
________________________________
Re: SOLR to SOLR communication with custom authentication
Posted by "Ramkumar R. Aiyengar" <an...@gmail.com>.
Custom authentication support was added in 5x, and the imminent (in the
next few days) 5.3 release has a lot of features in this regard, including
a basic authentication module, I would suggest upgrading to it. 5x versions
(include 5.3) do support Java 7, so I don't see an issue here?
On 20 Aug 2015 12:48, "Prasad Bodapati" <pr...@pb.com> wrote:
> Hi All,
>
> We have cluster environment on JBOSS, All of our deployed applications are
> protected by OpenAM including SOLR. On Slave nodes we enabled SOLR to
> communicate with master nodes to get data.
> Since the SOLR on master is protected with OpenAM slave can't talk to it.
> In Solr.xml there is a way to configure replication requests to use basic
> HTTP authentication but not to use custom authentication.
> I have tried to override ReplicationHandler and SnapPuller classes to use
> provide custom authentication but I couldn't.
>
> I have tried to follow instructions at
> https://wiki.apache.org/solr/SolrSecurity but I could not find the
> classes
> org.apache.solr.security.InterSolrNodeAuthCredentialsFactory.SubRequestFactory
> and
> org.apache.solr.security.InterSolrNodeAuthCredentialsFactory.SubRequestFactory.
>
> Have anyone of you used custom authentication before for replocation ? Any
> help would be greatly appreciated.
>
> Environment
> SOLR version: 4.10.2 (We can't upgrade at moment as we use Java 7)
> JBOSS 6.2 EAP
>
> Thanks,
> Prasad
>
> ________________________________
>
>