applet java.security.policy problem
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