Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

applet java.security.policy problem

843807Aug 26 2005
I have a signed applet running in a browser (firefox) that have to set the policy file:

System.setProperty("java.security.policy","SignApplet.policy");
to get full permission.

Is it correct?

It gives me an error:
access denied (java.lang.RuntimePermission loadLibrary.pkcs11wrapper)

It seems that it don't use the new file SignApplet.policy.
I'm searching for a code that runtime does what the command line
-Djava.security.policy=SignApplet.policy does.
thank you
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 23 2005
Added on Aug 26 2005
0 comments
146 views