How can I monitor security access from my Java program?
John Zukowski Setting the java.security.debug system property allows you to watch accesses that pass through the security manager. To find out the different options, ask for help:
java -Djava.security.debug=help footo get the following:
all turn on all debugging access print all checkPermission results jar jar verification policy loading and granting scl permissions SecureClassLoader assigns The following can be used with access: stack include stack trace domain dumps all domains in context failure before throwing exception, dump stack and domain that didn't have permission