Uploaded image for project: 'NEURE'
  1. NEURE
  2. NEURE-287

1.7.0_45 brings new manifest attributes in Deployment/PlugIn area

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 1.6.7
    • None
    • None
    • None
    • JavaPlugin v1.7.0_45

      Need to take in account those new attributes to avoid unnecessary "warning" dialogs.

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

      Protections Against Unauthorized Redistribution of Java Applications

      Starting with 7u45, application developers can specify new JAR manifest file attributes:

      Application-Name: This attribute provides a secure title for your RIA.

      Caller-Allowable-Codebase: This attribute specifies the codebase/locations from which JavaScript is allowed to call Applet classes.

      JavaScript to Java calls will be allowed without any security dialog prompt only if:

      JAR is signed by a trusted CA, has the Caller-Allowable-Codebase manifest entry and JavaScript runs on the domain that matches it.
      JAR is unsigned and JavaScript calls happens from the same domain as the JAR location.

      The JavaScript to Java (LiveConnect) security dialog prompt is shown once per Applet classLoader instance.

      Application-Library-Allowable-Codebase: If the JNLP file or HTML page is in a different location than the JAR file, the Application-Library-Allowable-Codebase attribute identifies the locations from which your RIA can be expected to be started.

      If the attribute is not present or if the attribute and location do not match, then the location of the JNLP file or HTML page is displayed in the security prompt shown to the user.

      Note that the RIA can still be started in any of the above cases.

      Developers can refer to JAR File Manifest Attributes for more information.

            olmasl Oleksandr Maslov
            olmasl Oleksandr Maslov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: