I'd like regular users to be able to add allowed IP addresses to Tomcats firewall, without having to manually edit the server.xml file (so I don't have to do it). Is there a way to do that (without regenerating the server.xml file)?
Asked
Active
Viewed 94 times
1 Answers
1
There isn't an ideal way to do this.
The only way to edit this list dynamically is via JMX. You can either write a servlet (suitably protected) to do this or provide full JMX access (equivalent to full admin access) and use JConsole or similar. The downside is that changes cannot be persisted.

Mark Thomas
- 16,339
- 1
- 39
- 60
-
I was really hoping that wouldn't be the case! :-/ – AtliB Apr 27 '12 at 13:12