jdk/test/java/security/Policy/GetInstance/GetInstance.policy
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 2 90ce3da70b43
child 25408 27563093d2d2
permissions -rw-r--r--
Initial load

grant codeBase "file:${{java.ext.dirs}}/*" {
        permission java.security.AllPermission;
};

grant {
    permission java.security.SecurityPermission
			"createPolicy.JavaPolicy";
    permission java.security.SecurityPermission
			"createPolicy.FooPolicy";
    permission java.security.SecurityPermission
			"createPolicy.GetInstancePolicySpi";
    permission java.util.PropertyPermission
			"test.src", "read";
    permission java.lang.RuntimePermission
			"accessClassInPackage.sun.net.www";
    permission java.io.FilePermission
			"${test.src}/GetInstance.policyURL",
			"read";
    permission java.lang.RuntimePermission
			"accessClassInPackage.sun.security.provider";
    permission java.lang.SecurityPermission
			"setSecurityManager";
    permission java.lang.RuntimePermission
			"getProtectionDomain";
    permission java.security.SecurityPermission
			"setPolicy";
    permission java.security.SecurityPermission
			"putProviderProperty.GetInstanceProvider";
    permission java.security.SecurityPermission
			"GetInstanceTest";
};