Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6895411

Regression: Applets are not honoring the remote policy URL

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
    • Resolved In Build:
      b02
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      Applets are ignoring the permissions specified inside the remote polciy URL.

      Steps to reproduce:
      1) Install JRE 6u18-b04
      2) Set following permissions inside the .java.policy file inside the <user_home>
      grant {
        permission java.lang.RuntimePermission "usePolicy";
      };
      3) Set "policy.url.2" inside <jre_home>/lib/security/java.security as follows
      policy.url.2=http://nicole1.sfbay.sun.com:8080/plugin_tests/usePolicy/sqe.policy

      Permissions inside the remote policy file are :
      grant {
        permission java.security.AllPermission;
      };


      4) Try loading the following signed applet:
      http://sqeweb.sfbay.sun.com/deployment2/jitu/plug-bug/security/file/exec/AppletFullJavaVersion.html
      It should get loaded without any security pop-up. If security pop-up is there then bug is reproduced

      5) Try loading the following unsigned applet. It should not throw any security exception
      http://sqeweb.sfbay.sun.com/deployment2/jitu/plug-bug/security/file/exec/AppletFullJavaVerUnsigned.html
      If security exception is thrown then bug is reproduced

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dgu Dennis Gu (Inactive)
              Reporter:
              jijising Jitender Singh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: