Problem with setting a policy in java.
0 posts in topic
Flat View  Flat View

Posted By:   clubber_clubber
Posted On:   Wednesday, July 17, 2002 05:45 AM

Is there a possibility to achieve the same thing as

java -Djava.security.policy=c:myPolicy.policy myRMIServer

by writing something in the java code.

I would like to have my policy set by the code because I don't use
java -Djava.... to start my program.
I also don't want to addopt the policy files in the java runtime. I
want my policy file to be stored somewhere and loaded from there.

About | Sitemap | Contact