签署Java applet权限

时间:2012-09-14 10:34:19

标签: java image security screenshot signed-applet

  

可能重复:
  Setting up policies for an Applet embedded in HTML

我创建了一个简单的Java小程序来获取网站的屏幕截图。我签了罐子,好像已经验证了。

         410 Fri Sep 14 13:20:34 EEST 2012 META-INF/MANIFEST.MF
         376 Fri Sep 14 13:20:36 EEST 2012 META-INF/SIGNER.SF
         830 Fri Sep 14 13:20:36 EEST 2012 META-INF/SIGNER.RSA
           0 Fri Sep 14 13:20:36 EEST 2012 META-INF/
           0 Fri Sep 14 13:20:36 EEST 2012 screencaptureapplet/
sm       615 Fri Sep 14 13:20:36 EEST 2012 screencaptureapplet/CaptureFrame$1.class
sm     17311 Fri Sep 14 13:20:36 EEST 2012 screencaptureapplet/CaptureFrame.class

  s = signature was verified
  m = entry is listed in manifest
  k = at least one certificate was found in keystore
  i = at least one certificate was found in identity scope

jar verified.

然而它在我的网站上不起作用。它说:

access denied (java.awt.AWTPermission createRobot)

什么是尴尬的是它在我的函数的第一行失败了

Robot robot = new Robot();

有没有人知道如何解决这个问题?

0 个答案:

没有答案