jdk-24/test/jdk/java/security/SecureClassLoader/DefineClass.policy
2017-09-12 19:03:39 +02:00

15 lines
455 B
Plaintext

keystore "NONE", "Test8131486", "Test8131486";
grant {
permission java.lang.RuntimePermission "getProtectionDomain";
};
grant codebase "http://localhost/" {
permission java.util.PropertyPermission "user.home", "read";
};
grant codebase "http://127.0.0.1/" {
permission java.util.PropertyPermission "user.name", "read";
};
grant codebase "http://localhost/", signedby "baz" {
permission java.util.PropertyPermission "user.dir", "read";
};