在我的应用程序中,我们使用自签名小程序,
之前,我们会看到带有一个复选框的对话框来记住选择。 但现在将 Java 版本更新到 7u40 一天后,我们没有得到这个选项, 这就是为什么它每次都要求接受风险。
关于如何避免此类对话的任何想法。
最佳答案
来自 Java 7u40 release note 。 Java 删除了自签名和未签名小程序的“记住此决定”功能。
针对未签名和自签名应用程序的新安全警告
New warnings are added in the dialogs for Unsigned and Self-Signed applications. From the dialogs for Unsigned and Self-Signed applets, "Remember this decision" option has been removed. In addition, the previously remembered decisions for self-signed and unsigned applets will be ignored.
有关详细信息,请参阅 Security Dialogs
摆脱警告对话框的唯一选择是让您的小程序签名。
关于java - 小程序总是给出警告对话框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19607349/