What version of Solr are you using?

Are there errors in your logs?

On Fri, May 13, 2022 at 10:26 AM Gummadi, Ramesh <
rameshchandra.gumm...@ironmountain.com> wrote:

> Hi, I have this configuration for security.json. I uploaded it to the
> zookeeper. Solr is not picking the role collectionreadwrite and also the
> realm. It is showing the default realm of solr. Any ideas what I am doing
> wrong.{
>   "authentication": {
>     "blockUnknown": true,
>     "class": "solr.BasicAuthPlugin",
>     "credentials": {
>       "solr": "asdf"
>     },
>     "realm": "My Solr users",
>     "forward Credentials": false
>   },
>   "authorization": {
>     "class": "solr.RuleBasedAuthorizationPlugin",
>     "permissions": [
>         {"name": "all","role": "admin"},
>         { "name": "security-edit", "role": "admin"}
>         { "name": "update", "role": "collectionreadwrite"}
>         { "name": "read", "role": "collectionreadwrite"}
>     ],
>     "user-role": {
>       "solr": "admin",
>       "user2": "collectionreadwrite"
>     }
>   }
> }
> --
> Ramesh Chandra Gummadi | Search Engineer | Iron Mountain
>
> +91 9731395075 – mobile
>
> www.IronMountain.com <http://www.ironmountain.com/>
>
> Iron Mountain Services Pvt Ltd, Level 10, Citrine Block, BWTC,
>
> Mahadevapura, Bangalore 560048, INDIA
> OUR VALUES: Integrity | Safety & Security | Customer Value | Ownership
> | Inclusion
> & Teamwork
>
> --
> The information contained in this email message and its attachments is
> intended only for the private and confidential use of the recipient(s)
> named above, unless the sender expressly agrees otherwise. Transmission of
> email over the Internet is not a secure communications medium. If you are
> requesting or have requested the transmittal of personal data, as defined
> in applicable privacy laws by means of email or in an attachment to email,
> you must select a more secure alternate means of transmittal that supports
> your obligations to protect such personal data.
>
> If the reader of this
> message is not the intended recipient and/or you have received this email
> in error, you must take no action based on the information in this email
> and you are hereby notified that any dissemination, misuse or copying or
> disclosure of this communication is strictly prohibited. If you have
> received this communication in error, please notify us immediately by
> email
> and delete the original message.
>

Reply via email to