File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes Policy files store in a JAR and set at runtime? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » Security
Reply Bookmark "Policy files store in a JAR and set at runtime?" Watch "Policy files store in a JAR and set at runtime?" New topic
Author

Policy files store in a JAR and set at runtime?

Matt Sullivan
Greenhorn

Joined: Jul 12, 2004
Posts: 1
Hello all,

What I am trying to do is the following. I have an RMI application (command line client and server) that are compiled into tow jars (one for client, one for server). I have placed the policy files for both in their respective JARs. What I want to do is to dynamically load those policy files when the main classes are called, as opposed to using -Djava.security.policy. Is this possible? If I deploy the client as a java web start app, will it confuse matters further?

Thanks,

M.
 
 
subject: Policy files store in a JAR and set at runtime?
 
Threads others viewed
policy file problems
urgent help needed :serverstub not found
where is the poilcy file supposed to be
CLASSPATH base startup
I thought EJB was supposed to loosely couple with Client?
MyEclipse, The Clear Choice