Oracle Community Directory
Oracle Community FAQ
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Other Security APIs, Tools, and Issues
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Sep 26, 2011 4:07 PM by
Security Manager and Policy Files
Sep 26, 2011 2:15 PM
I am writing a simple java rmi application, but understand it wont run without a Security Manager installed and a policy file.
I think I have installed the security manger using the following in the main() method of my client application:
However I am unsure how to use a policy file with this. I have looked on the internet, but it does not seem to be very well documented
Please could you advise me how to create a policy file that will work for my application and where to place it in my application so that my application can use it.
Any help would be greatfuly appreciated
This content has been marked as final.
Show 1 reply
Re: Security Manager and Policy Files
Sep 26, 2011 4:07 PM
in response to
An RMI application doesn't need a security manager unless you are using the codebase feature.