This is an automated email from the ASF dual-hosted git repository.
elyograg pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new 9058b17e3e4 Ref Guide: Clearer instructions for placing security.json.
(#1589)
9058b17e3e4 is described below
commit 9058b17e3e4aee1975ae22884c4c6c0202173bf8
Author: Shawn Heisey <[email protected]>
AuthorDate: Tue Apr 25 10:27:47 2023 -0600
Ref Guide: Clearer instructions for placing security.json. (#1589)
* Ref Guide: Clearer instructions for placing security.json.
* fixed the wrong path for solr home.
* more detail - ZK chroot
---
.../pages/authentication-and-authorization-plugins.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/solr/solr-ref-guide/modules/deployment-guide/pages/authentication-and-authorization-plugins.adoc
b/solr/solr-ref-guide/modules/deployment-guide/pages/authentication-and-authorization-plugins.adoc
index 2d2d75bb2af..09b076caa8f 100644
---
a/solr/solr-ref-guide/modules/deployment-guide/pages/authentication-and-authorization-plugins.adoc
+++
b/solr/solr-ref-guide/modules/deployment-guide/pages/authentication-and-authorization-plugins.adoc
@@ -29,8 +29,8 @@ Solr includes some plugins out of the box, and additional
plugins can be develop
All authentication, authorization and audit logging plugins can work with Solr
whether it is running as a cluster or a single-node installation.
All related configuration, including users and permission rules, are stored in
a file named `security.json`.
-When running Solr as a user-managed cluster or a single-node installation,
this file must be in the `$SOLR_HOME` directory (usually `server/solr`).
-When using SolrCloud, this file must be located in ZooKeeper.
+When using SolrCloud, this file must be located at the chroot of the ZooKeeper
structure. If no chroot was given, then it must be at the root.
+When running Solr in standalone mode (without ZooKeeper), this file must be in
the `$SOLR_HOME` directory. When manually running Solr from an extracted
archive, this will most likely be `server/solr`. If the service installer
script is used, its default location will be `/var/solr/data`, which can be
changed with options given to the service installer.
== Configuring security.json