Java applet manifest - Allow all Caller-Allowable-Codebase

后端 未结 16 2520
暗喜
暗喜 2020-11-28 02:10

As of Java 7u45 an applet will display a warning message (even if signed with a trusted cert) if a webpage tries to interact with it via javascript and that page isn\'t list

16条回答
  •  悲哀的现实
    2020-11-28 03:10

    from oracle:

    Area: Deployment/Plugin Synopsis: Caller-Allowable-Codebase may be ignored when used with Trusted-Library.

    If a trusted, signed jar is using the Caller-Allowable-Codebase manifest attribute along with Trusted-Library then the Caller-Allowable-Codebase manifest entry will be ignored and, as a result, a JavaScript -> Java call will show the native LiveConnect warning. The workaround is to remove the Trusted-Library manifest entry.

    http://www.oracle.com/technetwork/java/javase/7u45-relnotes-2016950.html

提交回复
热议问题