Re: Custom auth plugin for SolrCloud

2019-09-20 Thread Jan Høydahl
Note that authentication plugins is not per-core/collection, they are system wide. Try to create a lib/ folder inside your SOLR_HOME and put the jar there. -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 19. sep. 2019 kl. 16:19 skrev Shawn Heisey : > > On 9/19/2019

Re: Custom auth plugin for SolrCloud

2019-09-19 Thread Shawn Heisey
On 9/19/2019 6:18 AM, Zubovich Yauheni wrote: This class is wrapped into jar. Jar added to server lib directory and defined at solrconfig.xml: Where exactly is this "server lib" directory that you describe? If it's one of the locations that gets loaded automatically, you should NOT be load

Custom auth plugin for SolrCloud

2019-09-19 Thread Zubovich Yauheni
Hi, I have very very simple task - we need to protect access to Solr if request doesn't have specific header. Solr 7.3 is running in cloud mode. Was implemented custom auth plugin: package com.custom.solr.core; import org.apache.solr.security.AuthenticationPlugin; public class RestrictDirectAcc