You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2008/12/12 18:00:49 UTC

[jira] Created: (QPID-1533) PrincipalDatabase should have an interface has no reload()

PrincipalDatabase should have an interface has no reload()
----------------------------------------------------------

                 Key: QPID-1533
                 URL: https://issues.apache.org/jira/browse/QPID-1533
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker, Java Management : JMX Console
    Affects Versions: M3, M4
            Reporter: Martin Ritchie


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (QPID-1533) PrincipalDatabase interface has no reload()

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie reassigned QPID-1533:
------------------------------------

    Assignee: Aidan Skinner  (was: Martin Ritchie)

Can you take a look at this change please.

> PrincipalDatabase interface has no reload()
> -------------------------------------------
>
>                 Key: QPID-1533
>                 URL: https://issues.apache.org/jira/browse/QPID-1533
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Java Management : JMX Console, Starter
>    Affects Versions: M3, M4
>            Reporter: Martin Ritchie
>            Assignee: Aidan Skinner
>         Attachments: QPID-1533_16dec2008.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Assigned: (QPID-1533) PrincipalDatabase interface has no reload()

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie reassigned QPID-1533:
------------------------------------

    Assignee: Martin Ritchie

> PrincipalDatabase interface has no reload()
> -------------------------------------------
>
>                 Key: QPID-1533
>                 URL: https://issues.apache.org/jira/browse/QPID-1533
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Java Management : JMX Console, Starter
>    Affects Versions: M3, M4
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>         Attachments: QPID-1533_16dec2008.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-1533) PrincipalDatabase should have an interface has no reload()

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie updated QPID-1533:
---------------------------------

    Component/s: Starter

> PrincipalDatabase should have an interface has no reload()
> ----------------------------------------------------------
>
>                 Key: QPID-1533
>                 URL: https://issues.apache.org/jira/browse/QPID-1533
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Java Management : JMX Console, Starter
>    Affects Versions: M3, M4
>            Reporter: Martin Ritchie
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (QPID-1533) PrincipalDatabase interface has no reload()

Posted by "Robert Gemmell (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Gemmell updated QPID-1533:
---------------------------------

    Attachment: QPID-1533_16dec2008.patch

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

> PrincipalDatabase interface has no reload()
> -------------------------------------------
>
>                 Key: QPID-1533
>                 URL: https://issues.apache.org/jira/browse/QPID-1533
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Java Management : JMX Console, Starter
>    Affects Versions: M3, M4
>            Reporter: Martin Ritchie
>         Attachments: QPID-1533_16dec2008.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (QPID-1533) PrincipalDatabase should have an interface has no reload()

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12656066#action_12656066 ] 

Martin Ritchie commented on QPID-1533:
--------------------------------------

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.


> PrincipalDatabase should have an interface has no reload()
> ----------------------------------------------------------
>
>                 Key: QPID-1533
>                 URL: https://issues.apache.org/jira/browse/QPID-1533
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Java Management : JMX Console, Starter
>    Affects Versions: M3, M4
>            Reporter: Martin Ritchie
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (QPID-1533) PrincipalDatabase interface has no reload()

Posted by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marnie McCormack updated QPID-1533:
-----------------------------------

        Fix Version/s: Eclipse MC M5
    Affects Version/s:     (was: M4)
                           (was: M3)

Sscoping items for early 2009 release of Java Eclipse Mgt Console 

> PrincipalDatabase interface has no reload()
> -------------------------------------------
>
>                 Key: QPID-1533
>                 URL: https://issues.apache.org/jira/browse/QPID-1533
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Java Management : JMX Console, Starter
>            Reporter: Martin Ritchie
>            Assignee: Aidan Skinner
>             Fix For: Eclipse MC M5
>
>         Attachments: QPID-1533_16dec2008.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-1533) PrincipalDatabase interface has no reload()

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie updated QPID-1533:
---------------------------------

    Summary: PrincipalDatabase interface has no reload()  (was: PrincipalDatabase should have an interface has no reload())

> PrincipalDatabase interface has no reload()
> -------------------------------------------
>
>                 Key: QPID-1533
>                 URL: https://issues.apache.org/jira/browse/QPID-1533
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Java Management : JMX Console, Starter
>    Affects Versions: M3, M4
>            Reporter: Martin Ritchie
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (QPID-1533) PrincipalDatabase interface has no reload()

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie resolved QPID-1533.
----------------------------------

       Resolution: Fixed
    Fix Version/s: M5
         Assignee: Martin Ritchie  (was: Aidan Skinner)

Work reviewed and committed by Martin

> PrincipalDatabase interface has no reload()
> -------------------------------------------
>
>                 Key: QPID-1533
>                 URL: https://issues.apache.org/jira/browse/QPID-1533
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Java Management : JMX Console, Starter
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>             Fix For: M5, Eclipse MC M5
>
>         Attachments: QPID-1533_16dec2008.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-1533) PrincipalDatabase interface has no reload()

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie updated QPID-1533:
---------------------------------

    Status: Ready To Review  (was: In Progress)

> PrincipalDatabase interface has no reload()
> -------------------------------------------
>
>                 Key: QPID-1533
>                 URL: https://issues.apache.org/jira/browse/QPID-1533
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Java Management : JMX Console, Starter
>    Affects Versions: M3, M4
>            Reporter: Martin Ritchie
>            Assignee: Martin Ritchie
>         Attachments: QPID-1533_16dec2008.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org