1. Tomcat-dev is the place for that discussion

2. Submit a patch

3. Solved

John

-----Original Message-----
From: nord ehacedod [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 21, 2003 10:21 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to