jdk-24/jdk/test/java/security/Policy/GetInstance/GetInstance.policy
2007-12-01 00:00:00 +00:00

32 lines
1.0 KiB
Plaintext

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