is there a way to create a custom policy file for the Java SecurityManager that is located wherever I want it to be?
If it is, how would I do that, and how would I bind the SecurityManager to that file programmatially, that is not via the command line?
is there a way to create a custom policy file for the Java SecurityManager
Share
You can specify additional security policy files via the
java.security.policyJVM argument:If you wanted the policy file to completely override the system and default user policy files then specify a ‘double =’ syntax: