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

MBeanServer spec requires wrong permission for setAttribute()

XMLWordPrintable

    • b38
    • generic
    • generic
    • Verified



      Name: poR10007 Date: 12/23/2003



      The API spec for javax.management.MBeanServer interface (jdk1.5.0-b32)
      requires MBeanPermission with "getAttribute" action instead of "setAttribute"
      for the method setAttribute():

        "For the setAttribute method, the caller's permissions must imply
         MBeanPermission(className, attrName, name, "getAttribute"), where
                                                     ^^^^^^^^^^^^
         attrName is attribute.getName()."

      ======================================================================

            emcmanus Eamonn McManus
            passunw Pas Pas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: