S
SPG
Hi,
We currently have a signed applet, which is split into two different
branches.
The first supports MS JVM, and is compiled to a CAB file, the other supoprts
SUN (v 1.4.1 something) and compiled to a JAR.
The main problems we have had (and why we split development) is the way the
permissions work when checking for permission to make a socket connection.
The MS version uses the old chestnut:
PolicyEngine.assertPermission(PermissionID.NETIO);
To see if we have permissions to make a socket connection.
Now, when I try and run the SUN version in anything over 1.4.2 I get
permission problems, although the earlier SUN JVMs work. Remember that the
JAR file is actually signed.
What I need to do is a consolidation of versions so that we have one JAR for
all versions (obviously coded for the lowest JVM supported, but working for
all). We do not use any third party solutions so it should be just our code
that changes.
Can anyone shed any light on the permissioning for sockets and signed
applets for later versions of JVMs?
Steve
We currently have a signed applet, which is split into two different
branches.
The first supports MS JVM, and is compiled to a CAB file, the other supoprts
SUN (v 1.4.1 something) and compiled to a JAR.
The main problems we have had (and why we split development) is the way the
permissions work when checking for permission to make a socket connection.
The MS version uses the old chestnut:
PolicyEngine.assertPermission(PermissionID.NETIO);
To see if we have permissions to make a socket connection.
Now, when I try and run the SUN version in anything over 1.4.2 I get
permission problems, although the earlier SUN JVMs work. Remember that the
JAR file is actually signed.
What I need to do is a consolidation of versions so that we have one JAR for
all versions (obviously coded for the lowest JVM supported, but working for
all). We do not use any third party solutions so it should be just our code
that changes.
Can anyone shed any light on the permissioning for sockets and signed
applets for later versions of JVMs?
Steve