jdk-24/test/jdk/java/rmi/registry/classPathCodebase/registry.security.policy

19 lines
946 B
Plaintext
Raw Normal View History

/*
* security policy used by the registry process started by RegistryVM.
*/
grant {
permission java.lang.RuntimePermission "accessClassInPackage.sun.rmi.registry";
permission java.util.PropertyPermission "env.class.path", "read";
permission java.io.FilePermission ".", "read";
permission java.util.PropertyPermission "user.dir", "read";
permission java.lang.RuntimePermission "createClassLoader";
permission java.lang.RuntimePermission "setContextClassLoader";
permission java.io.FilePermission ".-Djava.rmi.server.codebase=file", "read";
permission java.io.FilePermission ".${/}-", "read";
permission java.lang.RuntimePermission "accessClassInPackage.sun.rmi.server";
permission java.lang.RuntimePermission "accessClassInPackage.sun.rmi.transport";
permission java.lang.RuntimePermission "accessClassInPackage.sun.rmi.transport.tcp";
permission java.net.SocketPermission "*:1024-", "listen,resolve,connect,accept";
};