2022-12-22 16:50:59 +00:00
|
|
|
grant {
|
|
|
|
permission java.util.PropertyPermission "test.classes", "read";
|
|
|
|
permission java.security.SecurityPermission "getPolicy";
|
|
|
|
permission java.security.SecurityPermission "setPolicy";
|
2007-12-01 00:00:00 +00:00
|
|
|
};
|
|
|
|
|
2022-12-22 16:50:59 +00:00
|
|
|
grant codebase "file:${test.classes}/*" {
|
|
|
|
permission java.util.PropertyPermission "java.policy.dirs", "read, write";
|
|
|
|
permission java.util.PropertyPermission "user.name", "write";
|
|
|
|
permission java.util.PropertyPermission "user.home", "write";
|
|
|
|
};
|
|
|
|
|
|
|
|
grant codebase "file:${java.policy.dirs}" {
|
2007-12-01 00:00:00 +00:00
|
|
|
permission java.util.PropertyPermission "user.name", "read";
|
|
|
|
permission java.util.PropertyPermission "user.home", "read";
|
|
|
|
};
|
|
|
|
|