Hi,
I am trying to add some permission for a plug-in.
My problem is that as soon as I change the JRE policy file the plug seems to
miss some other policies.
Is there a way to add grants dynamically at the
start of a plug-in ? I checked in the code and eclipse seems to grant a lot of
permissions by default.
I tried using the VM option in run for the
plugin, but the plug-in never finds the file, and I am not sure what will
happen when the plugin is released in production, how to provide this
information to the Eclipse runtime.
I need to add these, without overwriting the
existing ones for a jar that uses RMI functionalities.
permission java.net.SocketPermission
"*:1024-65535", "connect";
permission java.io.FilePermission
"<<ALL FILES>>", "read, write, delete";
permission
java.util.PropertyPermission "java.home", "read";
permission java.util.PropertyPermission
"user.dir", "read";
permission
java.lang.RuntimePermission "accessClassInPackage.sun.io";
The standard policy file provided by
the JRE does not work.
thanks