Thanks Looks like I have to write a JAASRealm seems to be the only way to do it so as I do not have to restart tomcat. There is only one username,password,role. As it is a small system.
On Thu, 2005-02-24 at 18:53, Caldarale, Charles R wrote: > > From: Just another UFO mechanic [mailto:[EMAIL PROTECTED] > > Subject: tomcat-users.xml > > > > <!-- This Realm uses the UserDatabase configured in the global JNDI > > resources under the key "UserDatabase". Any edits > > that are performed against this UserDatabase are immediately > > available for use by the Realm. --> > > > > Immediately available would lead me to think that it checks > > the file for updates. > > The file is not the database. The actual database is in-memory only, but is > populated at Tomcat startup from what's in the xml file. If you use the > Admin app, you can update the in-memory database, and it will rewrite the xml. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > --------------------------------------------------------------------- > 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]
