Qpid
  1. Qpid
  2. QPID-1533

PrincipalDatabase interface has no reload()

    Details

      Description

      Summary:

      The management console has a reload function which is described as 'Reloading all user data'
      Currently it only reloads the JMX Rights file 'jmxremote.access'.
      This reload method should be updated to reload the user credentials stored in the PrincipalDatabase if they are loaded and cached at startup.

        Issue Links

          Activity

          Hide
          Martin Ritchie added a comment -

          I would suggest that adding a reload to PrincipalDatabase.
          The Plain implementation would no op as it doesn't cache the data
          The Base64 implementation would just need to reload the file from disk.

          AMQUserManagementMBean would then just need to call PD.reload() from the reloadData() method.

          Show
          Martin Ritchie added a comment - I would suggest that adding a reload to PrincipalDatabase. The Plain implementation would no op as it doesn't cache the data The Base64 implementation would just need to reload the file from disk. AMQUserManagementMBean would then just need to call PD.reload() from the reloadData() method.
          Hide
          Robbie Gemmell added a comment -

          I have made a patch, QPID-1533_16dec2008.patch which addresses this in the way suggested above by Martin.

          Show
          Robbie Gemmell added a comment - I have made a patch, QPID-1533 _16dec2008.patch which addresses this in the way suggested above by Martin.
          Hide
          Martin Ritchie added a comment -

          Can you take a look at this change please.

          Show
          Martin Ritchie added a comment - Can you take a look at this change please.
          Hide
          Marnie McCormack added a comment -

          Sscoping items for early 2009 release of Java Eclipse Mgt Console

          Show
          Marnie McCormack added a comment - Sscoping items for early 2009 release of Java Eclipse Mgt Console
          Hide
          Martin Ritchie added a comment -

          Work reviewed and committed by Martin

          Show
          Martin Ritchie added a comment - Work reviewed and committed by Martin

            People

            • Assignee:
              Martin Ritchie
              Reporter:
              Martin Ritchie
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development