jdk/test/java/net/InetAddress/policy.file
author chegar
Mon, 12 Oct 2015 10:33:51 +0100
changeset 33303 0c109c1c04c5
parent 2 90ce3da70b43
permissions -rw-r--r--
8139352: java/net/InetAddress/getOriginalHostName.java fails to compile Reviewed-by: mchung, henryjen
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