Hi,
I'm having a problem while loading the applet to receive the ATR signal
from the Gemplus GCR410 smartcard reader connected at COM1.
I've implemented the following steps:
1. Installed the opencard framework package.
Copied the the base-opt.jar, base-core.jar, reference-service.jar to
the JRE\1.3\lib directory.
Copied the opencard.properties into the JRE\1.3\lib
2. Installed the javax.comm package.
Copied the comm.jar and the javax.comm.properties to the JRE\1.3\lib.
Copied the win32com.dll into JRE\1.3\bin
3. Running a sample applet to receive the ATR. Have signed the applet
using the the jdk1.3 which foolows the th e dynamic trust management
principle. Thus there is no need to deploy the keystore or modify the
policy file at the user end.
However on running the applet from the browser, i'm encountering the
following security exception .... Could u please see at what point
something is missing .
Also refer to point 1. I tried loading the the 3 OCF .jar files from the
html file along with the applet which i was loading to read the ATR
signal. But this alos leads to the same security exception
I've also put a copy of the opencard.properties file into the web dir
where the applet and html files are kept. That has also failed.
I'm attaching a copy of the opencard.properties and the axception
details that i've encountered
Thanx & regards,
Monika.
opencard.properties
# use the package default BasicDatabaseFactory
OpenCard.services 3D opencard.opt.database.BasicDatabaseFactory
# use Gemplus's pure Java card terminal for GCR410
OpenCard.terminals =
com.gemplus.opencard.terminal.GemplusCardTerminalFactory|mygcr|GCR410|COM1
OpenCard.trace opencard:5 com.ibm:4 opencard.opt.database:6
Java console Exception
Exception occurred during event dispatching:
java.security.AccessControlException: access denied
(java.util.PropertyPermission OpenCard.loaderClassName read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at opencard.core.util.SystemAccess.getProperty(SystemAccess.java:92)
at opencard.core.service.SmartCard.start(SmartCard.java:507)
at DisplayATR.mouseClicked(GetATR.java:93)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Button.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
>
>
> ---
> > Visit the OpenCard web site at http://www.opencard.org/ for more
> > information on OpenCard---binaries, source code, documents.
> > This list is being archived at http://www.opencard.org/archive/opencard/
>
> ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
> ! to
> ! [EMAIL PROTECTED]
> ! containing the word
> ! unsubscribe
> ! in the body.
>
---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/
! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe
! in the body.