Applet with Signed JAR throws AccessControlException in AppletViewer
Perhaps I'm missing a few marbles that contained the security protocol for the applet viewer utility and if so, please let me know where I can reorder the much needed replacement parts!
Anyhow, I have an applet that's been wrapped up into a JAR that is also signed. The applet can open a file chooser dialog box when running inside of the browser, but when running inside of the applet viewer, the file chooser throws an Exception:
access denied (java.util.PropertyPermission user.dir read)
at java.security.AccessControlContext.checkPermission (AccessControlConte
at java.security.AccessController.checkPermission(Acc essController.java:
at java.lang.SecurityManager.checkPermission(Security Manager.java:532)
at java.lang.SecurityManager.checkPropertyAccess(Secu rityManager.java:12
Does the Signed JAR help out with the security permissions or do I really need to set the permissions file for the applet to get it to run in the applet viewer?