# JDK1.2 Applet Security Exception at IE5

Iman Budi Setiawan (iman95@puspa.cs.ui.ac.id)
Fri, 16 Jul 1999 15:26:47 -0700

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: LyndeM@sec.gov: "JDK1.2 Applet Security Exception at IE5"
- Previous message: Paula Venosa: "Request Infomation"

    From: "Iman Budi Setiawan" <iman95@puspa.cs.ui.ac.id>

    To: <java-security@java.sun.com>

    Subject: JDK1.2 Applet Security Exception at IE5

    Date: Fri, 16 Jul 1999 15:26:47 -0700

I have a problem when using jdk1.2 applet in IE5,
when calling native code using System.loadLibrary.

I have already set the permission in c:\windows\.java.policy (I'm using
win98),
grant {
permission java.security.AllPermission;
};

This is the output from java console :
com.ms.security.SecurityExceptionEx[javacard/smartcard.<clinit>]
at com/ms/security/PolicyEngine.shallowCheck (PolicyEngine.java)
at com/ms/security/PolicyEngine.checkCallersPermission (PolicyEngine.java)
at com/ms/security/StandardSecurityManager.chk
(StandardSecurityManager.java)
at com/ms/security/StandardSecurityManager.checkLink
(StandardSecurityManager.java)
at java/lang/Runtime.loadLibrary (Runtime.java)
at java/lang/System.loadLibrary (System.java)
at javacard/smartcard.<clinit> (smartcard.java:18)
at AddDialog.<init> (AddDialog.java:264)
at SmartWallet.addMenu_ActionPerformed_Interaction1 (SmartWallet.java:396)
at SmartWallet.addMenu_ActionPerformed (SmartWallet.java:385)
at SmartWallet$SymAction.actionPerformed (SmartWallet.java:317)
at java/awt/MenuItem.processActionEvent (MenuItem.java)
at java/awt/MenuItem.processEvent (MenuItem.java)
at java/awt/MenuComponent.dispatchEventImpl (MenuComponent.java)
at java/awt/MenuComponent.dispatchEvent (MenuComponent.java)
at java/awt/EventDispatchThread.run (EventDispatchThread.java)
Exception occurred during event dispatching:
java.lang.ExceptionInInitializerError: com/ms/security/SecurityExceptionEx
at AddDialog.<init> (AddDialog.java:264)
at SmartWallet.addMenu_ActionPerformed_Interaction1 (SmartWallet.java:396)
at SmartWallet.addMenu_ActionPerformed (SmartWallet.java:385)
at SmartWallet$SymAction.actionPerformed (SmartWallet.java:317)
at java/awt/MenuItem.processActionEvent (MenuItem.java)
at java/awt/MenuItem.processEvent (MenuItem.java)
at java/awt/MenuComponent.dispatchEventImpl (MenuComponent.java)
at java/awt/MenuComponent.dispatchEvent (MenuComponent.java)
at java/awt/EventDispatchThread.run (EventDispatchThread.java)
com.ms.security.SecurityExceptionEx[QuitDialog.yesButton_ActionPerformed_Int
eraction1]
at com/ms/security/PolicyEngine.deepCheck (PolicyEngine.java)
at com/ms/security/PolicyEngine.checkPermission (PolicyEngine.java)
at com/ms/security/StandardSecurityManager.chk
(StandardSecurityManager.java)
at com/ms/security/StandardSecurityManager.checkExit
(StandardSecurityManager.java)
at java/lang/Runtime.exitHelper (Runtime.java)
at java/lang/System.exit (System.java)
at QuitDialog.yesButton_ActionPerformed_Interaction1 (QuitDialog.java:131)
at QuitDialog.yesButton_ActionPerformed (QuitDialog.java:121)
at QuitDialog$SymAction.actionPerformed (QuitDialog.java:114)
at java/awt/Button.processActionEvent (Button.java)
at java/awt/Button.processEvent (Button.java)
at java/awt/Component.dispatchEventImpl (Component.java)
at java/awt/Component.dispatchEvent (Component.java)
at java/awt/EventDispatchThread.run (EventDispatchThread.java)
at java/awt/Dialog.show (Dialog.java)
at java/awt/Component.show (Component.java)
at java/awt/Component.setVisible (Component.java)
at QuitDialog.setVisible (QuitDialog.java:84)
at SmartWallet.exitMenuItem_ActionPerformed_Interaction1
(SmartWallet.java:356)
at SmartWallet.cmdExit_ActionPerformed (SmartWallet.java:364)
at SmartWallet$SymAction.actionPerformed (SmartWallet.java:315)
at java/awt/Button.processActionEvent (Button.java)
at java/awt/Button.processEvent (Button.java)
at java/awt/Component.dispatchEventImpl (Component.java)
at java/awt/Component.dispatchEvent (Component.java)
at java/awt/EventDispatchThread.run (EventDispatchThread.java)

Iman Budi Setiawan
Faculty of Computer Science, University of Indonesia
E-Mail : iman95@puspa.cs.ui.ac.id, ib_setiawan@hotmail.com

- Next message: LyndeM@sec.gov: "JDK1.2 Applet Security Exception at IE5"
- Previous message: Paula Venosa: "Request Infomation"