JOGL 1.x 未签名的小程序可能吗?
我有一个使用 JOGL 1.x 的小程序。我需要将它嵌入到页面中,以便它显示时不会弹出任何安全警告等(如果这也可以通过某种形式的签名小程序实现,那么请告诉我如何进行设置)。
由于各种原因,JOGLAppletLauncher 似乎已经贬值。
由于无法找到我的小程序的类,使用 JNLPAppletLauncher 似乎失败了。据推测,这是由于很久以前实施的安全更改所致。然而,这在 Mac 上的 Safari(但不是 Chrome)中确实有效,它似乎不关心签名/未签名的沙箱混合或其他东西。如果安全性设置为允许混合沙箱,这也适用于 Chrome 或 IE 8 中的 Windows。
使用 JNLP 文件触发小程序的方法有多种,但我在所有操作系统上的所有浏览器上进行的尝试都失败了。
如今这只是不可能的事情吗(正如 http://code. google.com/p/processing/issues/detail?id=429) 和 JOGL 小程序因此就死掉了,或者还有我还没有尝试过的替代方案吗?
I have an applet that uses JOGL 1.x. I need to embed it in a page so that it displays without any popup security warnings, etc. (if this is possible with some form of signed applet as well then please advise how I get that set up instead).
The JOGLAppletLauncher appears depreciated for various reasons.
Using the JNLPAppletLauncher seems to fail as a result of not being able to find my applet's class. Presumably this is due to the security changes implemented a ways back. This does however work in Safari (but not chrome) on a mac which appears to not care about signed/unsigned sandbox mixing or something. This also works on windows in chrome or IE 8 IF the security is set to allow mixed sandboxing.
There are various approaches to using a JNLP file to trigger the applet, but all have failed in my attempts on all browsers on all OS's.
Is this just an impossibility these days (as implied by http://code.google.com/p/processing/issues/detail?id=429) and JOGL applets are just dead as a result, or is there an alternative that I have yet to try?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当 Sun 运行 JOGL 项目时,他们使用特殊证书对 jar 进行签名,该证书允许将其用作小程序,而无需显示任何安全对话框。
然而Sun(现在的Oracle)取消了JOGL项目并且不再支持它。
然而,JOGL 作为社区支持的项目 JOGL2 继续存在,但不再享有特殊安全对话免费证书的好处。
因此,使用 Java OpenGL 小程序的选择是使用过时且现在几乎已损坏的 JOGL1(由特殊证书签名)或使用更现代的 OpenGL 绑定(如 JOGL2 或 LWJGL),其工作效果更好,但会显示安全对话框。
When Sun was running the JOGL project they signed the jars with a special certificate which allowed it to be used as an applet without any security dialogs showing.
However Sun (Now Oracle) cancelled the JOGL project and no longer support it.
JOGL however lives on as a community supported project, JOGL2, but no longer has the benefit of the special security dialog free certificate.
So your options for using Java OpenGL applets are to either use the out dated and now pretty much broken JOGL1 which is signed by the special certificate or use a more modern OpenGL binding (like JOGL2 or LWJGL) which work much better but display a security dialog.