March 28th, 2011, 04:53 AM
embedding policy file in a jar file
Well, I wish to deploy an applet that uses a policy file to be deployed. The applet successfully deploys through the command line using the following command:
java -J-Djava.security.policy = mypolicy.policy AppletDeployment.html
I wish to embed the policy inside the jar file so that it can be uploaded to the my server. I googled this which speaks of Class loaders and security manager but I am still unable to figure out a concrete way.
I would appreciate any sort of help in this matter.
Click Here to Expand Forum to Full Width