jdk-24/test/jdk/java/net/InetAddress/policy.file
2017-09-12 19:03:39 +02:00

11 lines
312 B
Plaintext

grant {
permission javax.security.auth.AuthPermission "modifyPrincipals";
permission javax.security.auth.AuthPermission "doAsPrivileged";
permission java.util.PropertyPermission "*", "read,write";
};
grant Principal MyPrincipal "test" {
permission java.net.SocketPermission "${host.name}", "resolve";
};