default-pol revision 2115
2115N/A
2115N/A// Standard extensions get all permissions by default
2115N/A
2115N/Agrant codeBase "file:${java.home}/lib/ext/*" {
2115N/A permission java.security.AllPermission;
2115N/A};
2115N/A
2115N/A// default permissions granted to all domains
2115N/A
2115N/Agrant {
2115N/A // Allows any thread to stop itself using the java.lang.Thread.stop()
2115N/A // method that takes no argument.
2115N/A // Note that this permission is granted by default only to remain
2115N/A // backwards compatible.
2115N/A // It is strongly recommended that you either remove this permission
2115N/A // from this policy file or further restrict it to code sources
2115N/A // that you specify, because Thread.stop() is potentially unsafe.
2115N/A // See "http://java.sun.com/notes" for more information.
2115N/A permission java.lang.RuntimePermission "stopThread";
2115N/A
2115N/A // allows anyone to listen on un-privileged ports
2115N/A permission java.net.SocketPermission "localhost:1024-", "listen";
2115N/A
2115N/A // "standard" properies that can be read by anyone
2115N/A
2115N/A permission java.util.PropertyPermission "java.version", "read";
2115N/A permission java.util.PropertyPermission "java.vendor", "read";
2115N/A permission java.util.PropertyPermission "java.vendor.url", "read";
2115N/A permission java.util.PropertyPermission "java.class.version", "read";
2115N/A permission java.util.PropertyPermission "os.name", "read";
2115N/A permission java.util.PropertyPermission "os.version", "read";
2115N/A permission java.util.PropertyPermission "os.arch", "read";
2115N/A permission java.util.PropertyPermission "file.separator", "read";
2115N/A permission java.util.PropertyPermission "path.separator", "read";
2115N/A permission java.util.PropertyPermission "line.separator", "read";
2115N/A
2115N/A permission java.util.PropertyPermission "java.specification.version", "read";
2115N/A permission java.util.PropertyPermission "java.specification.vendor", "read";
2115N/A permission java.util.PropertyPermission "java.specification.name", "read";
2115N/A
2115N/A permission java.util.PropertyPermission "java.vm.specification.version", "read";
2115N/A permission java.util.PropertyPermission "java.vm.specification.vendor", "read";
2115N/A permission java.util.PropertyPermission "java.vm.specification.name", "read";
2115N/A permission java.util.PropertyPermission "java.vm.version", "read";
2115N/A permission java.util.PropertyPermission "java.vm.vendor", "read";
2115N/A permission java.util.PropertyPermission "java.vm.name", "read";
2115N/A};
2115N/A