I have a very large web application that I would like to publish specifications about what permissions are required to provide Tomcat Security Manager to work correctly with the web application.
Is there any automatic way to launch a web application and generate a list of all the necessary permissions?
I tried to do this manually by enabling Tomcat Security Manager and working my way through security exceptions and adding the necessary permissions. The problem with this, however, is that only one security exception is displayed at a time, and after each exception I need to update the .policy catalina, restart Tomcat and continue to the next exception.
I literally spent 2 hours doing this without any hint of being close to completion. There must be a better way.
Tomcat security manager
source
share