That github patch is interesting.
My initial proposal for how to plug LDAP into Solr was to make the 
AuthenticationProvider pluggable in BasicAuthPlugin, so you could plug in an 
LDAPAuthProvider. See https://issues.apache.org/jira/browse/SOLR-8951 
<https://issues.apache.org/jira/browse/SOLR-8951>. No need to replace the whole 
BasicAuth class I think. Anyone who wants to give it a shot, borrowing some 
code from the ldap_solr repo, feel free :)

Jan

> 4. sep. 2020 kl. 09:43 skrev Aroop Ganguly <aroopgang...@icloud.com.INVALID>:
> 
> Try looking at a simple ldap authentication suggested here: 
> https://github.com/itzmestar/ldap_solr 
> <https://github.com/itzmestar/ldap_solr>
> You can combine this for authentication and couple it with rule based 
> authorization.
> 
> 
> 
>> On Aug 28, 2020, at 12:26 PM, Vanalli, Ali A - DOT <ali.vana...@dot.wi.gov 
>> <mailto:ali.vana...@dot.wi.gov>> wrote:
>> 
>> Hello,
>> 
>> Solr is running on windows machine and wondering if it possible to setup 
>> BasicAuth with the LDAP?
>> 
>> Also, tried the example of Basic-Authentication that is published 
>> here<https://lucene.apache.org/solr/guide/8_6/rule-based-authorization-plugin.html#rule-based-authorization-plugin
>>  
>> <https://lucene.apache.org/solr/guide/8_6/rule-based-authorization-plugin.html#rule-based-authorization-plugin>>
>>  but this did not work too.
>> 
>> Thanks...Ali
>> 
>> 
> 

Reply via email to