Of course, but Dinesh explicitly set blockUnknown=true below, so in this case ALL requests must have credentials. There is currently no feature that lets Solr accept any request by other rules, all requests are forwarded to the chosen authentication plugin.
-- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 15. jun. 2018 kl. 19:12 skrev Terry Steichen <te...@net-frame.com>: > > "When authentication is enabled ALL requests must carry valid > credentials." I believe this behavior depends on the value you set for > the *blockUnknown* authentication parameter. > > > On 06/15/2018 06:25 AM, Jan Høydahl wrote: >> When authentication is enabled ALL requests must carry valid credentials. >> >> Are you asking for a feature where a request is authenticated based on IP >> address of the client, not username/password? >> >> Jan >> >> Sendt fra min iPhone >> >>> 14. jun. 2018 kl. 22:24 skrev Dinesh Sundaram <sdineshros...@gmail.com>: >>> >>> Hi, >>> >>> I have configured basic auth for solrcloud. it works well when i access the >>> solr url directly. i have integrated this solr with test.com domain. now if >>> I access the solr url like test.com/solr it prompts the credentials but I >>> dont want to ask this time since it is known domain. is there any way to >>> achieve this. much appreciate your quick response. >>> >>> my security json below. i'm using the default security, want to allow my >>> domain default without prompting any credentials. >>> >>> {"authentication":{ >>> "blockUnknown": true, >>> "class":"solr.BasicAuthPlugin", >>> "credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= >>> Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="} >>> },"authorization":{ >>> "class":"solr.RuleBasedAuthorizationPlugin", >>> "permissions":[{"name":"security-edit", >>> "role":"admin"}], >>> "user-role":{"solr":"admin"} >>> }} >