Lines Matching defs:policy

36  * @run main/othervm/secure=java.lang.SecurityManager/policy=0.policy Security 0
37 * @run main/othervm/secure=java.lang.SecurityManager/policy=2.policy Security 2
38 * @run main/othervm/secure=java.lang.SecurityManager/policy=3.policy Security 3
39 * @run main/othervm/secure=java.lang.SecurityManager/policy=4.policy Security 4
40 * @run main/othervm/secure=java.lang.SecurityManager/policy=5.policy Security 5
41 * @run main/othervm/secure=java.lang.SecurityManager/policy=6.policy Security 6
42 * @run main/othervm/secure=java.lang.SecurityManager/policy=7.policy Security 7
43 * @run main/othervm/secure=java.lang.SecurityManager/policy=8.policy Security 8
44 * @run main/othervm/secure=java.lang.SecurityManager/policy=9.policy Security 9
45 * @run main/othervm/secure=java.lang.SecurityManager/policy=0.policy Security 13
46 * @run main/othervm/secure=java.lang.SecurityManager/policy=14.policy Security 14
47 * @run main/othervm/secure=java.lang.SecurityManager/policy=15.policy -Djava.security.debug=access:domain,failure Security 15
136 * Its permissions are in the second grant block in each policy file
181 // (0) policy does not have permission for file. Should fail
187 // (1) policy has permission for file URL
193 // (2) policy has permission for all file URLs under /files
199 // (3) policy has permission for first URL but not redirected URL
205 // (4) policy has permission for both first URL and redirected URL
211 // (5) policy has permission for redirected but not first URL
217 // (6) policy has permission for file URL, but not method
223 // (7) policy has permission for file URL, method, but not header
232 // (8) policy has permission for file URL, method and header
241 // (9) policy has permission for file URL, method and header
250 // (10) policy has permission for destination URL but not for proxy
254 // (11) policy has permission for both destination URL and proxy
258 // (12) policy has permission for both destination URL and proxy
376 static void runtest(Test r, String policy, boolean succeeds) {
377 System.out.println("Using policy file: " + policy);
384 System.out.println (policy + " succeeded as expected");
392 System.out.println (policy + " threw exception as expected");
407 String policy = args[0];
418 runtest(tr.test, policy, tr.result);