Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
Java Plugin 1.5.0 U6, Solaris and Windows When policy use is enforced in java.policy grant { permission java.lang.RuntimePermission "usePolicy"; }; AND a remote policy server is specified in java.security: policy.url.2=https://aubing.germany/ourpolicy.policy which grants an applet write permissions: grant codebase "https://aubing.germany/writeFileApplet/writeFileApplet.jar" { permission java.io.FilePermission "<<ALL FILES>>", "read,execute,write"; permission java.util.PropertyPermission "user.home", "read"; }; THEN we see - an AccessControlException on WinXP/IE - a hang on Solaris/Firefox (Applet is being loaded) If the SAME write permissions grant codebase "https://aubing.germany/writeFileApplet/writeFileApplet.jar" { permission java.io.FilePermission "<<ALL FILES>>", "read,execute,write"; permission java.util.PropertyPermission "user.home", "read"; }; are specified in the java.policy file AND the remote policy server is disabled in java security, THEN all is fine. Side note: The root certificate is being stored as trusted CA in the browser keystore and the browser keystore is being used.
|