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

Java Control Panel cannot disable Java in the browser for all users

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 7u21, 8, 9
    • Fix Version/s: tbd_minor
    • Component/s: deploy
    • Labels:
    • OS:
      linux

      Description

      FULL PRODUCT VERSION :
      java version " 1.7.0_21 "
      Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
      Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Linux hostname 3.8.0-23-generic #34-Ubuntu SMP Wed May 29 20:22:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

      A DESCRIPTION OF THE PROBLEM :
      The plugin control panel cannot disable Java in the browser for all users on a computer because the control panel cannot detect whether the current user is an administrator on Ubuntu.

      Even creating ${deployment.java.home}/lib/deployment.config (as specified in http://docs.oracle.com/javase/7/docs/technotes/guides/deployment/deployment-guide/properties.html) with the line " deployment.webjava.enabled=false " doesn't cause the control panel to notice that it has been disabled.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Open Application menu, Preferences, Oracle Java 7 Plugin Control Panel (or run `ControlPanel` in a terminal)
      2. Switch to the " Security " tab.
      3. Unselect " Enable Java content in the browser " .
      4. Click " Apply " .

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The control panel should ask the user for their account password and then disable Java in the browser for all users on the computer.
      ACTUAL -
      A window comes up that says that the user is not an administrator. This happens even when the control panel is started with `gksudo -l ControlPanel`, which means that even the root user is not detected as an administrator.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Java Disabled for Current User Only

      Only an Administrator can change the Enable Java in the browser setting for all users on this computer. Java will be disabled in the browser only for the current user

      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Activity

            People

            • Assignee:
              vdrozdov Victor Drozdov (Inactive)
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: