Hi Team,

I am trying to enable authentication for my local solr admin console using 
basic auth plugin, Below is the configuration I am following in the 
security.json file.

{
  "authentication": {
    "blockUnknown": true,
    "class": "solr.BasicAuthPlugin",
    "credentials": {
      "admin": "IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= 
Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="
    },
    "realm": "My Solr users",
    "forwardCredentials": false
  },
  "authorization": {
    "class": "solr.RuleBasedAuthorizationPlugin",
    "permissions": [
      {
        "name": "security-edit",
        "role": "admin"
      }
    ],
    "user-role": {
      "admin": "admin"
    }
  }
}

This configuration is working fine, But it is restricting me to access /select 
queries also and asking for authentication. I just want to enable 
authentication to my admin console, I don't want to restrict end users  to 
query my solr. How can I do that? Can anyone help me on the configuration 
please?

Thanks&Regards
KrishnaVamsi

Reply via email to