jdk/test/java/net/InetAddress/policy.file
author dsamersoff
Tue, 13 Jul 2010 15:32:36 +0400
changeset 6108 d5bfa0bc6123
parent 2 90ce3da70b43
permissions -rw-r--r--
6964714: NetworkInterface getInetAddresses enumerates IPv6 addresses if java.net.preferIPvStack property set Summary: User can disable ipv6 explicitly, have to check it Reviewed-by: chegar, alanb

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";
};