0ad6803ac2
Reviewed-by: dfuchs, mullan, mchung, chegar
38 lines
1.8 KiB
Plaintext
38 lines
1.8 KiB
Plaintext
// Permissions need to the test
|
|
grant {
|
|
permission java.net.SocketPermission "localhost", "resolve";
|
|
permission java.net.SocketPermission "localhost", "connect";
|
|
permission java.lang.RuntimePermission "accessClassInPackage.sun.net.www.http";
|
|
};
|
|
|
|
// default permissions granted to all domains
|
|
|
|
grant {
|
|
// allows anyone to listen on un-privileged ports
|
|
permission java.net.SocketPermission "localhost:1024-", "listen";
|
|
|
|
// "standard" properies that can be read by anyone
|
|
|
|
permission java.util.PropertyPermission "java.version", "read";
|
|
permission java.util.PropertyPermission "java.vendor", "read";
|
|
permission java.util.PropertyPermission "java.vendor.url", "read";
|
|
permission java.util.PropertyPermission "java.class.version", "read";
|
|
permission java.util.PropertyPermission "os.name", "read";
|
|
permission java.util.PropertyPermission "os.version", "read";
|
|
permission java.util.PropertyPermission "os.arch", "read";
|
|
permission java.util.PropertyPermission "file.separator", "read";
|
|
permission java.util.PropertyPermission "path.separator", "read";
|
|
permission java.util.PropertyPermission "line.separator", "read";
|
|
|
|
permission java.util.PropertyPermission "java.specification.version", "read";
|
|
permission java.util.PropertyPermission "java.specification.vendor", "read";
|
|
permission java.util.PropertyPermission "java.specification.name", "read";
|
|
|
|
permission java.util.PropertyPermission "java.vm.specification.version", "read";
|
|
permission java.util.PropertyPermission "java.vm.specification.vendor", "read";
|
|
permission java.util.PropertyPermission "java.vm.specification.name", "read";
|
|
permission java.util.PropertyPermission "java.vm.version", "read";
|
|
permission java.util.PropertyPermission "java.vm.vendor", "read";
|
|
permission java.util.PropertyPermission "java.vm.name", "read";
|
|
};
|