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

 

 

 

 

 

 

 

Reply via email to