So I've been trying to get signed applets to work correctly with the JEP, but it just won't fly. The certificate approval window pops up, I accept the certificate, and everything seems fine; the certificate is even automatically added to my keychain if I select 'always'. However, the applet doesn't run as if it were signed. It's still throwing "access denied" security exceptions when I try to go beyond the standard applet sandbox. I'm trying to use the Common DOM API, which you can check out at this URL:
I'm using Firefox 1.0 with the latest JEP and MRJ. I'm thinking that perhaps the JEP isn't doing the security privilege upgrade correctly? Any help would be very much appreciated.
Thanks.
-CY
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I doubt that the JEP has any general problems with signed applets
(no-one else has ever reported any, and I've never seen any). But
there might be problems in its support for the Common DOM API (or
possibly in Apple's JVM's support for it).
If possible, please provide a URL for an applet that demonstrates the
problem. Otherwise please write a test-case applet. If you do write
a test-case, it'll probably be best to open a bug in the JEP's Bugs
tracker (the trackers allow you to post attachments).
By the way, does your applet work in Safari?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Since my initial response I discovered that the Java Embedding Plugin
did sometimes fail to elevate a signed applet's privileged when the
applet's code is called via LiveConnect. This problem effected users
of http://hushmail.com/, and has been fixed in version 0.9.0 of the
Java Embedding Plugin (which was just released).
Since your problem may be related, you should probably try JEP 0.9.0.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Heyo,
So I've been trying to get signed applets to work correctly with the JEP, but it just won't fly. The certificate approval window pops up, I accept the certificate, and everything seems fine; the certificate is even automatically added to my keychain if I select 'always'. However, the applet doesn't run as if it were signed. It's still throwing "access denied" security exceptions when I try to go beyond the standard applet sandbox. I'm trying to use the Common DOM API, which you can check out at this URL:
http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/java_js.html#common_dom
I'm using Firefox 1.0 with the latest JEP and MRJ. I'm thinking that perhaps the JEP isn't doing the security privilege upgrade correctly? Any help would be very much appreciated.
Thanks.
-CY
I doubt that the JEP has any general problems with signed applets
(no-one else has ever reported any, and I've never seen any). But
there might be problems in its support for the Common DOM API (or
possibly in Apple's JVM's support for it).
If possible, please provide a URL for an applet that demonstrates the
problem. Otherwise please write a test-case applet. If you do write
a test-case, it'll probably be best to open a bug in the JEP's Bugs
tracker (the trackers allow you to post attachments).
By the way, does your applet work in Safari?
Since my initial response I discovered that the Java Embedding Plugin
did sometimes fail to elevate a signed applet's privileged when the
applet's code is called via LiveConnect. This problem effected users
of http://hushmail.com/, and has been fixed in version 0.9.0 of the
Java Embedding Plugin (which was just released).
Since your problem may be related, you should probably try JEP 0.9.0.