jdk-24/test/jdk/java/net/InetAddress/policy.file

11 lines
312 B
Plaintext
Raw Normal View History

2007-12-01 00:00:00 +00:00
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";
};