Hi Sue and all,
I have no solution but exactly the same versions and the same problem.
I've seen on Apple's site that MRJ 2.2 does not support signed Cabs
(the certificate is ignored).
I don't know if it is the same for MRJ 2.2.5, but it would explain
the problem. I searched without success.
Have you found a solution now ?
Has someone a solution or more information on signing applets with
MRJ 2.2.5 and IE 5 ?
Thanks,
Philippe
--- In macjava@y..., susan.davis@e... wrote:
> Hi all,
>
> I hope someone out there can shed some light on this problem.
>
> I have a signed Applet that will FTP a selected file from the
Client
> back to the server. (signed Jar for Netscape, signed Cab for IE)
>
> This applet works fine on the Windows platform (both Netscape
and
> IE) and on Netscape 6.1 for the Mac (OS 9, with MRJ 2.2.5)...
However, IE5
> on the Mac opens the applet window without the usual security
warning dialog
> that is normally presented to the user, then just sits there.
>
> It looks like it's getting a security exception when the
applet
> tries to verify that the file actually exists (effectively trying
to read
> the client system). The following information appears in the Java
Messages
> window.
>
> com.apple.mrj.JManager.JMAppletSecurityExc:
> security.checkread: /photon/testfiles/SAMPLE.PS,
> /photon/testfiles/SAMPLE.PS
> at
>
> com.apple.mrj.JManager.JMAppletSecurityOld.checkRead
(JMAppletSecurityOld.jav
> a)
> at
>
> com.apple.mrj.JManager.JMAppletSecurityOld.checkRead
(JMAppletSecurityOld.jav
> a)
> at java.io.File.exists(File.java)
>
> This happens using both the MRJ and the Microsoft IE VM. I
can not
> find any information on JMAppletSecurityOld, and very little that
is useful
> on the JManager. Apple's idea of documenting this class seems to
be to put
> the source code out as documentation, but I'm afraid that does not
tell a
> security newbie like me how to use it correctly.
>
> I have picked up the MRJ SDK, but can't figure out if need to
use
> that, or if the problem is with the way I'm signing the Cab file.
>
> Any insight, help, URLS, code fragments, that might help me
resolve
> this puzzle would be greatly appreciated.
>
> Thanks,
>
> Sue D.