You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by mr...@apache.org on 2025/09/05 12:13:22 UTC

(jackrabbit-site) 01/01: JCRSITE-58: Add security consideration to JNDI config

This is an automated email from the ASF dual-hosted git repository.

mreutegg pushed a commit to branch JCRSITE-58
in repository https://gitbox.apache.org/repos/asf/jackrabbit-site.git

commit 2842f1f858686964cf1d89c24f1badb0e30e9a7a
Author: Marcel Reutegger <mr...@adobe.com>
AuthorDate: Fri Sep 5 14:12:56 2025 +0200

    JCRSITE-58: Add security consideration to JNDI config
---
 src/site/markdown/jackrabbit-configuration.md | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/site/markdown/jackrabbit-configuration.md b/src/site/markdown/jackrabbit-configuration.md
index 34d11dcc..f17e1c5f 100644
--- a/src/site/markdown/jackrabbit-configuration.md
+++ b/src/site/markdown/jackrabbit-configuration.md
@@ -47,8 +47,11 @@ These two configuration parameters are passed either directly to Jackrabbit
 when creating a repository instance or indirectly through settings for a
 JNDI object factory or some other component management system.
 
-Note that since Jackrabbit 2.22.1, JNDI is disabled by default. If you want to
+Note that since Jackrabbit 2.22.2, JNDI is disabled by default. If you want to
 use JNDI, you need to set the system property `jackrabbit.jndi.enabled` to `true`.
+If enabled, ensure repository registration and lookup through JNDI is done
+through configuration values. Using user supplied values is a potential security
+risk and should be avoided.
 
 For each workspace that was created, there will also be a `workspace.xml`
 file created inside the workspace home directory that will be used for the