You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Turner, John" <JT...@AAS.com> on 2003/02/24 12:28:35 UTC
RE: Subject: RE: Tomcat 4.1.18-LE re-writes tomcat-users.xml file
; why?
1. Tomcat-dev is the place for that discussion
2. Submit a patch
3. Solved
John
-----Original Message-----
From: nord ehacedod [mailto:nordehacedod@yahoo.com]
Sent: Friday, February 21, 2003 10:21 PM
To: tomcat-user@jakarta.apache.org
Cc: chrislott@spamcop.net
Subject: Subject: RE: Tomcat 4.1.18-LE re-writes tomcat-users.xml file; why?
> Yoav is correct - you can create users in the Admin
webapp.
> ...and you could use the "Fullname" field for your
comments.
So users should put comments into the "Fullname"
attribute because the
file must be writeable for the admin app even if you
don't run the
admin app? This is likely to depress instead of
impress Tomcat users.
We make few changes to the tomcat-users.xml file and
do not run the
admin webapp, so it is natural for us to want this
file to be
configured read-only.
It is fairly easy to find the few lines of code in
org.apache.catalina.user.MemoryUserDatabase which do the rewriting, comment
them out, rename the class ReadOnlyMemoryUserDatabase, compile it, put it in
server/lib/, and edit server.xml to use the fixed class.
It would be nice to have a configurable option
instead.
--
nord
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org