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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
grant {
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
	permission javax.security.auth.AuthPermission "modifyPrincipals";
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
	permission javax.security.auth.AuthPermission "doAsPrivileged";	
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
	permission java.util.PropertyPermission "*", "read,write";
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
grant Principal MyPrincipal "test" { 
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
	permission java.net.SocketPermission "${host.name}", "resolve";
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10