[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iaik-ssl] JCE Applet Edition -



I cannot say why it throws an exception and some code does not, but you
can avoid this by using addAsProvider(false). Properties are not accessed
in that case.

Regards,

 Andreas Sterbenz              mailto:Andreas.Sterbenz@iaik.tu-graz.ac.at

-----Ursprüngliche Nachricht-----
Von: Dave Streeter - IICL Email <dave.streeter@iicl.co.uk>
An: 'iaik-jce@iaik.tu-graz.ac.at' <iaik-ssl@iaik.tu-graz.ac.at>
Gesendet: Freitag, 17. September 1999 13:07
Betreff: [iaik-ssl] JCE Applet Edition -


> I get the following error when setting IAIK as the security provider
from an
> applet running the java plug-in on a signed jar file:
>
> adding Provider IAIK...
>
> adding Provider IAIK...
>
> sun.applet.AppletSecurityException: checkpropsaccess
> at java.lang.Throwable.<init>(Compiled Code)
> at java.lang.Exception.<init>(Compiled Code)
> at java.lang.RuntimeException.<init>(RuntimeException.java:50)
> at java.lang.SecurityException.<init>(SecurityException.java:42)
> at
>
sun.applet.AppletSecurityException.<init>(AppletSecurityException.java:29
)
> at
sun.applet.AppletSecurity.checkPropertiesAccess(AppletSecurity.java:263)
> at java.lang.System.getProperties(System.java:363)
> at iaik.security.provider.IAIK.addAsProvider(Compiled Code)
> at uk.co.iicl.blinks.client.Client.getClient(Client.java:596)
> at uk.co.iicl.blinks.client.Signon$1$SignonAttemptLogon.run(Compiled
Code)
> at java.lang.Thread.run(Thread.java:466)
>
> Another applet running a jar signed by the same signer does access
> System.getProperties without any problems...so it seems to be
> IAIK.addAsProvider that is the problem...
>
> Anybody help please....
> Regards
>
> Dave Streeter
>
>
>


smime.p7s