WebApp Sec mailing list archives

RE: How to make Java Applets access java.security package classes


From: "Calderon, Juan C (EM, DDEMESIS)" <Juan.Calderon () ge com>
Date: Thu, 19 Jun 2003 11:36:16 -0400

indeed, the problem is that those classes are not contained in MS VM. However using the Java Plug-in instead of MS VM 
should work.

Did you configure your IE to work with JRE instead of MS VM?

-----Original Message-----
From: Venkatesan Krishnamoorthy [mailto:venkatesan_k () infosys com]
Sent: Thursday, June 19, 2003 3:54 AM
To: webappsec () securityfocus com
Subject: How to make Java Applets access java.security package classes


Guys:
        I am writing an application where in I need to access the java.security package classes such as KeyStore, 
Signature etc inorder to perform digital signing of html form data. I am doing this using javascript and java applet 
communication though LiveConnect.
      When I run the applet using appletviewer it runs just fine. But when I invoke it using the IE browser I get a 
"java.lang.NoClassDefFoundError: java/security/KeyStore". Could any of you tell me what I should do to make  IE load 
the java.security package classes?
      FYI, I have also tried Java plug-in installation, but still I get the same exception.

Thanks and Regards,
Venkat


Current thread: