Java applet manifest - Allow all Caller-Allowable-Codebase

后端 未结 16 2474
暗喜
暗喜 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:09

    Without using Trusted-Library and setting:

    Application-Library-Allowable-Codebase: *
    Caller-Allowable-Codebase: *
    

    Doesn't work for me, and i still see the warning.

    Update: Tried also with http://... but didn't work either.

    Update2: Seems even worse. I didnt update 7u40 (to 7u45) but Java console (full debug) shows the "LiveConnect 1.7.45" text. After that, my Javascript->Java calls are blocked.

    Update 3: I noticed my warning shows Application and Publisher = UNKNOWN. Altought i have:

    Application-Name: MyApplet
    Implementation-Vendor: MyCompany
    

    I tried using JDK7u45 instead of JDK7u5 i was using.

提交回复
热议问题