Programatically setting security Policy
843811Jul 12 2001 — edited Jul 18 2001I'm trying to reduce the number of arguments that have to pass to my program. I have a configuration file that I would like to specify java.* properties in, and have my program set them as needed.
How do I set the Policy file for the VM without specifying java.security.policy on the command line. I tried:
System.setProperty("java.security.policy", "my policy file" )
When is that system property read?
charlie