简体   繁体   English

JNLP .java.policy无效

[英]JNLP .java.policy no effect

After updating to Jave 7 Update 51 a client's application stopped to work. 在更新到Jave 7 Update 51之后,客户端的应用程序停止工作。 I could enable it to run either via exception white list or by deploying a DeploymentRuleSet.jar using a self signed certificate and importing it via Java Control Panel. 我可以通过异常白名单或通过使用自签名证书部署DeploymentRuleSet.jar并通过Java控制面板将其导入来使其运行。

In either case no permissions set in $HOME/.java_policy are actually granted. 在这两种情况下,实际上都不会授予$ HOME / .java_policy中设置的权限。 Is this a hard limitation imposed by this update or do I miss something? 这是此更新强加的硬性限制,还是我错过了什么?

Check out this posting from Oracle on the new security requirements for Web Start and Applets. 从Oracle 发布有关Web Start和Applet的新安全要求的帖子 You have to sign the jars, not with a self-signed certificate and also update the MANIFEST.MF for all downloaded jars to include the new permissions tag, plus some other optional tags. 您必须对jar进行签名,而不要使用自签名证书,还必须为所有下载的jar更新MANIFEST.MF,使其包括新的权限标签以及一些其他可选标签。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM