RMI - policy file - grant permissions
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Shay_Lavie
Posted On:   Tuesday, August 20, 2002 05:58 AM

When I run my application with the following policy everything works fine. grant codeBase "file:/MyCodeBase/-" { permission java.security.AllPermission; }; When I run my application with the following policy the application crushes (exit VM) with no exception or any error message. grant codeBase "file:/MyCodeBase/-" { permission java.net.SocketPermission "*:1024-65535", "accept, connect, listen"; permission java.io.FilePermission " < >", "read, write, delete, execute"; }; How I can figure all the permissions I should grant, but only them?    More>>

When I run my application with the following policy everything works fine.

			
grant codeBase "file:/MyCodeBase/-"
{
permission java.security.AllPermission;
};

When I run my application with the following policy the application crushes (exit VM) with no exception or any error message.
			
grant codeBase "file:/MyCodeBase/-"
{
permission java.net.SocketPermission "*:1024-65535", "accept, connect, listen";
permission java.io.FilePermission " < >", "read, write, delete, execute";
};

How I can figure all the permissions I should grant, but only them?    <<Less
About | Sitemap | Contact