Summary: | Documented default for UserDatabase readonly attribute wrong | ||
---|---|---|---|
Product: | Tomcat 6 | Reporter: | David Tugby <david.tugby> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 6.0.26 | ||
Target Milestone: | default | ||
Hardware: | PC | ||
OS: | Windows XP |
Description
David Tugby
2010-06-14 14:03:54 UTC
Tomcat home page... http://tomcat.apache.org/ ...which links to the Tomcat 6 docs... http://tomcat.apache.org/tomcat-6.0-doc/index.html ...which has a link for configuration... http://tomcat.apache.org/tomcat-6.0-doc/config/index.html ...which documents Realms... http://tomcat.apache.org/tomcat-6.0-doc/config/realm.html ...including the UserDatabaseRealm which in turn links to the JNDI how-to... http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html#UserDatabase%20Resources ...which describes how to set the readonly attribute. Thanks. Got this working by pasting the entire entry from http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html#UserDatabase%20Resources into my server.xml file. So I must have entered a typo when I tried earlier. The documentation is not quite correct however. tomcat-6.0-doc/jndi-resources-howto.html states "The readonly attribute is optional and defaults to false if not supplied." In my humble opionion this should be changed to: "The readonly attribute is optional and defaults to true if not supplied." Thanks again for the prompt response. David Tugby Docs updated for 7.0.x and 6.0.x. Fix will be included in 7.0.1 and 6.0.28 onwards. |