2
|
1 |
grant codeBase "file:${{java.ext.dirs}}/*" {
|
|
2 |
permission java.security.AllPermission;
|
|
3 |
};
|
|
4 |
|
|
5 |
grant {
|
|
6 |
permission java.security.SecurityPermission
|
|
7 |
"createPolicy.JavaPolicy";
|
|
8 |
permission java.security.SecurityPermission
|
|
9 |
"createPolicy.FooPolicy";
|
|
10 |
permission java.security.SecurityPermission
|
|
11 |
"createPolicy.GetInstancePolicySpi";
|
|
12 |
permission java.util.PropertyPermission
|
|
13 |
"test.src", "read";
|
|
14 |
permission java.lang.RuntimePermission
|
|
15 |
"accessClassInPackage.sun.net.www";
|
|
16 |
permission java.io.FilePermission
|
|
17 |
"${test.src}/GetInstance.policyURL",
|
|
18 |
"read";
|
|
19 |
permission java.lang.RuntimePermission
|
|
20 |
"accessClassInPackage.sun.security.provider";
|
|
21 |
permission java.lang.SecurityPermission
|
|
22 |
"setSecurityManager";
|
|
23 |
permission java.lang.RuntimePermission
|
|
24 |
"getProtectionDomain";
|
|
25 |
permission java.security.SecurityPermission
|
|
26 |
"setPolicy";
|
|
27 |
permission java.security.SecurityPermission
|
|
28 |
"putProviderProperty.GetInstanceProvider";
|
|
29 |
permission java.security.SecurityPermission
|
|
30 |
"GetInstanceTest";
|
|
31 |
};
|