Re: Authentication problems

2023-05-22 Thread MEXANIK
Hi, Everything is fine, the problem was in my code, I have another question Is one Thread1 used when calling the doAuthenticate method and when calling the interceptInternodeRequest method? And show the code where exactly this happens! Thank you 😊 вт, 4 апр. 2023 г., 14:35 Jan Høydahl : > I th

Re: Authentication problems

2023-04-04 Thread Jan Høydahl
I think the way forward here is to create a minimal re-production example for others to try. Ideally using a setup with basic auth, you could help us reproduce with a script like this: Copy my-security.json into current folder bin/solr start -c (or using docker) solr create -c coll1 solr create

Re: Authentication problems

2023-04-04 Thread MEXANIK
Jan, Hi!! I have such a problem that out of 5 collections, 2 of them can be read using the john_sl user with admin_x accesses. But if the "admin_rwx" accesses are taken away from the "admin" user, then the john_sl user will not be able to read 2 collections previously available for reading ... How

Re: Authentication problems

2023-04-03 Thread Jan Høydahl
Hi, I recommend reading the docs thoroughly and then clean up your config somewhat: https://solr.apache.org/guide/solr/latest/deployment-guide/rule-based-authorization-plugin.html Solr's authz works differently than most other RBAC products. You may be confused by order of evaluation, which is

Re: Authentication problems

2023-04-03 Thread MEXANIK
Jan, Hi, Thank you Need more information so you can help? пт, 31 мар. 2023 г., 12:16 MEXANIK : > Sorry, test1Collection* > > чт, 30 мар. 2023 г., 17:14 MEXANIK : > >> When you send a read request for the test2Collection collection, the logs >> do not display as a collection, and I get 10 entri

Re: Authentication problems

2023-03-31 Thread MEXANIK
Sorry, test1Collection* чт, 30 мар. 2023 г., 17:14 MEXANIK : > When you send a read request for the test2Collection collection, the logs > do not display as a collection, and I get 10 entries with admin_x rights > > > attached log with description > > > > ср, 29 мар. 2023 г., 16:39 Jan Høydahl :

Re: Authentication problems

2023-03-30 Thread MEXANIK
When you send a read request for the test2Collection collection, the logs do not display as a collection, and I get 10 entries with admin_x rights attached log with description ср, 29 мар. 2023 г., 16:39 Jan Høydahl : > Permissions are evaluated in order from top to bottom. > The first "read"

Re: Authentication problems

2023-03-29 Thread Jan Høydahl
Permissions are evaluated in order from top to bottom. The first "read" permission found requires roles "admin_ro", "admin_rwx", "solr-internal-traffic", so that should be selected. Do you have any logs that can shed light over what happens? Jan > 29. mar. 2023 kl. 14:27 skrev MEXANIK : > > I

Re: Authentication problems

2023-03-29 Thread MEXANIK
Apache Solr version 8.11.0 ср, 29 мар. 2023 г., 15:27 MEXANIK : > I logged in using the john_sl user in Solr UI, and sent a request to read > the collection, but I can read some of the collections, but I don't want > them to be read. > > If I replace the admin user's rights from admin_rwx to admi

Authentication problems

2023-03-29 Thread MEXANIK
I logged in using the john_sl user in Solr UI, and sent a request to read the collection, but I can read some of the collections, but I don't want them to be read. If I replace the admin user's rights from admin_rwx to admin_x, then the john_sl user can't read either How do I make it so that john