[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-distro-pkg-dev
Subject:    [Bug 411] New: Applet cannot load j2pkcs11 library
From:       bugzilla-daemon () icedtea ! classpath ! org (bugzilla-daemon at icedtea ! classpath ! org)
Date:       2009-11-19 9:46:57
Message-ID: E1NB3bN-00049u-0R () icedtea ! classpath ! org
[Download RAW message or body]

http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=411

           Summary: Applet cannot load j2pkcs11 library
           Product: IcedTea
           Version: unspecified
          Platform: PC
               URL: https://www.e-contract.be/eid-applet-beta/
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: IcedTea
        AssignedTo: unassigned at icedtea.classpath.org
        ReportedBy: info at frankcornelis.be


My signed eID Applet (http://code.google.com/p/eid-applet/) can use the
SunPKCS11 security provider when I'm using the Sun Java 1.6 runtime within
Firefox. When using the OpenJDK 30.b16.fc11 I get the following error in the
Java Console:
Caused by: java.security.AccessControlException: access denied
(java.lang.RuntimePermission loadLibrary.j2pkcs11)
        at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:342)
        at
java.security.AccessController.checkPermission(AccessController.java:553)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
        at
net.sourceforge.jnlp.runtime.JNLPSecurityManager.checkPermission(JNLPSecurityManager.java:281)
        at java.lang.SecurityManager.checkLink(SecurityManager.java:835)
        at java.lang.Runtime.loadLibrary0(Runtime.java:834)
        at java.lang.System.loadLibrary(System.java:1047)
        at sun.security.pkcs11.wrapper.PKCS11$1.run(PKCS11.java:84)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.security.pkcs11.wrapper.PKCS11.<clinit>(PKCS11.java:82)

Which clearly indicates that the Applet has insufficient rights in the JRE to
be able to load the Sun PKCS#11 security provider. Could this be fixed?


-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic