JMX simple and delegation security samples don't work because of missing access control entries

XMLWordPrintable

    • Type: Bug
    • Resolution: Delivered
    • Priority: P3
    • 21
    • Affects Version/s: None
    • Component/s: docs

        The JMX simple and delegation samples need additional access controls added to config/access.properties in order to run properly. Without them, the client will exit with the following exception:

        java.lang.SecurityException: Access denied! Invalid access level for requested MBeanServer operation.

        The username line in simple config/access.properties should be changed to:

        username readwrite \
                 create SimpleStandard \
                 unregister

        The username and delegate lines in delegation config/access.properties should be changed to:

        username readwrite \
                 create SimpleStandard \
                 unregister
        delegate readwrite \
                 create SimpleStandard \
                 unregister

              Assignee:
              Sheila Kamath
              Reporter:
              Sean Mullan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: