realms have a lifecycle, so you would need to start it
Filip
Satyanarayana Bobba wrote:
Hi All,
I am using the embedded tomcat in my application and I want to change
the tomcat-users.xml file dynamically.
Initially, I am setting that Realm to embedded tomcat by using the
setRealm() method.
Later on, I add the new users and changed the roles of the existing
users and again called the embedded.setRealm(), but it is not loading
the new users.
Is there any way to load the updated user info into realm object and how
to override the old realm object with the new realm in the embedded
tomcat?
Thanks & Regards,
Satya
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.23.16/1445 - Release Date: 5/15/2008 7:25 PM
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]