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

Erroneous comment in JMX agent docs for disabling password authentication

XMLWordPrintable

      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/javase/6/docs/guide/management/agent.html

      A DESCRIPTION OF THE PROBLEM :
      The section entitled 'Disabling password authentication' contains an irrelevant sentence related to a 'portNum' parameter.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      ...
      com.sun.management.jmxremote.authenticate=false

      When you disable password authentication, you can also disable SSL, as described in Disabling Security. You may also want to disable passwords, but use SSL client authentication, as described in Enabling Client SSL Authentication.
      ...

      ACTUAL -
      ...
      com.sun.management.jmxremote.authenticate=false

      where portNum is the port number to use. Be sure to specify an unused port number.

      When you disable password authentication, you can also disable SSL, as described in Disabling Security. You may also want to disable passwords, but use SSL client authentication, as described in Enabling Client SSL Authentication.
      ...

            mchung Mandy Chung (Inactive)
            jleesunw Jon Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: