From bec08644d51797bd31290fb11a8bb82c661fe0aa Mon Sep 17 00:00:00 2001 From: markt Date: Fri, 18 Jun 2010 10:18:09 +0000 Subject: [PATCH] Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49436 Correct default for UserDatabase's readonly attribute git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@955920 13f79535-47bb-0310-9956-ffa450edef68 --- webapps/docs/changelog.xml | 4 ++++ webapps/docs/jndi-resources-howto.xml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index 2330a4289..ded31cb8e 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -67,6 +67,10 @@ application to operate currently when running with a security manager. (markt) + + 49436: Correct documented default for readonly attribute of + the UserDatabase component. (markt) + diff --git a/webapps/docs/jndi-resources-howto.xml b/webapps/docs/jndi-resources-howto.xml index c8e6a7960..378ddacb8 100644 --- a/webapps/docs/jndi-resources-howto.xml +++ b/webapps/docs/jndi-resources-howto.xml @@ -378,7 +378,7 @@ writer.println("foo = " + bean.getFoo() + ", bar = " + relative, it is relative to $CATALINA_BASE.

The readonly attribute is optional and defaults to - false if not supplied. If the XML is writeable then it will be + true if not supplied. If the XML is writeable then it will be written to when Tomcat starts. WARNING: When the file is written it will inherit the default file permissions for the user Tomcat is running as. Ensure that these are appropriate to maintain the security -- 2.11.0