本文介绍了如何解决小程序权限问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个小问题,小程序,我得到了下面的错误。

I have one small problem with applet, I got following error.

Exception in thread "AWT-EventQueue-2" java.lang.ExceptionInInitializerError
    at applet.JSGD_Register.jButtonInitActionPerformed(JSGD_Register.java:861)
    at applet.JSGD_Register.access$1(JSGD_Register.java:841)
    at applet.JSGD_Register$2.actionPerformed(JSGD_Register.java:195)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission loadLibrary.jnifplib)
    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.checkLink(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at SecuGen.FDxSDK.jni.JFPLib.<clinit>(JFPLib.java:68)
    ... 27 more

会出现这种情况,如何解决?

why this occurs and how to resolve it?

请帮助我。
先谢谢了。

Please help me.thanks in advance.

推荐答案

首先阅读本文件 - 并决定c。将小程序允许什么样的$ C $的。由于@AndrewThompson指出的(的意见)的签署小程序没有安全限制,因为它们是数字签名(签字)这证明,他们来到未被篡改从特定的受信任的作者。

First of all read this document - What Applets Can and Cannot Do? ** and decide what kind of code an applet allows. As @AndrewThompson pointed out (see comment) that signed applets do not have the security restrictions because they are digitally signed (signature) which proves that they came untampered from a particular trusted author.

有关签名的Applet的更多信息请查看:

For more information about signed applets check out :




  1. Security in Rich Internet Applications
  2. Understanding Signing and Verification

这篇关于如何解决小程序权限问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-18 18:56