Qpid
  1. Qpid
  2. QPID-4795

[Java Broker] update UserManagementMBean name to enable creating multiple credential-managing authentication providers

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.22
    • Component/s: Java Broker
    • Labels:
      None

      Description

      The brokers new configuration model permits multiple authentication provider instances, however thus far we have prevented creation of more than one authentication provider that would prompt creation of a UserManagementMBean on the JMX management interface, because of the MBeans naming meaning that they would not be unique (and so would fail to be created).

      This change will update the MBean name to be based on the authentication provider name, in the format UserManagement-<provider name>, rather than being fixed as UserManagement like previously. The name value will now also be quoted using ObjectName.quote(..) in order to permit characters that are already allowed in the authentication provider name but which would be illegal in a non-quoted JMX ObjectName.

        Activity

        Hide
        Robbie Gemmell added a comment -
        Show
        Robbie Gemmell added a comment - Change made via: http://svn.apache.org/r1477965
        Hide
        Robbie Gemmell added a comment -

        r1477965 merged to the 0.22 release branch via: http://svn.apache.org/r1477974

        Show
        Robbie Gemmell added a comment - r1477965 merged to the 0.22 release branch via: http://svn.apache.org/r1477974

          People

          • Assignee:
            Robbie Gemmell
            Reporter:
            Robbie Gemmell
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development