tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Satyanarayana Bobba" <>
Subject Reload the Embedded Tomcat relam
Date Fri, 16 May 2008 09:18:23 GMT
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


Thanks & Regards,









  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message