Pablo,
Try repackaging your application using Microsoft CABARC so that it is in
the form of a cab file. Then try signing the cab using microsoft tool.
Darn microsoft on giving this kind of problem.
----- Original Message -----
From: "Pablo Chepalich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 24, 2001 2:56 AM
Subject: [OCF] Anybody can help me with this problem...
>
>
> Hi everybody,
> This happens inside an applet (IE5).
> When a button is pressed and try to initialize ocf:
> ...
> SmartCard.start();
> ...
>
> this exception is throws it:
> ava.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
> com.E_com.card.client.CardCommunication.initOCF(CardCommunication.java:79)
> at
>
com.E_com.views.applet.LoginApplet.btnOK_actionPerformed(LoginApplet.java:21
> 1) at
> com.E_com.views.applet.LoginApplet$1.actionPerformed(LoginApplet.java:80)
> at java.awt.Button.processActionEvent(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.pumpOneEventForHierarchy(Unknown Source) at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at
> java.awt.EventDispatchThread.pumpEvents(Unknown Source) at
> java.awt.EventDispatchThread.run(Unknown Source)
>
>
> My .java.policy:
> /* AUTOMATICALLY GENERATED ON Thu Oct 18 10:23:30 GMT-03:00 2001*/
> /* DO NOT EDIT */
>
> keystore ".keystore";
>
> grant signedBy "Xsec" {
> permission java.util.PropertyPermission "*", "read,write";
> permission java.io.FilePermission
"${java.home}/lib/opencard.properties",
> "read";
> permission java.io.FilePermission "${user.home}/.opencard.properties",
> "read";
> permission java.io.FilePermission "${user.dir}/opencard.properties",
> "read";
> permission java.io.FilePermission "${user.dir}/.opencard.properties",
> "read";
> permission java.lang.RuntimePermission "loadLibrary.*";
> permission java.lang.RuntimePermission "reflect.declared.*";
> };
>
> The file .opencard.properties is in my user.home directory
>
> Does anybody know what is wrong?
> I need help asap
> thanks in advance
>
>
>
> ---
> > 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.
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
---
> 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.