You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Craig Condit (JIRA)" <ji...@apache.org> on 2009/09/22 01:17:52 UTC

[jira] Created: (AMQ-2402) SystemPropertiesConfiguration swaps JMX user / password

SystemPropertiesConfiguration swaps JMX user / password
-------------------------------------------------------

                 Key: AMQ-2402
                 URL: https://issues.apache.org/activemq/browse/AMQ-2402
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.3.0
         Environment: Linux
            Reporter: Craig Condit
            Priority: Minor


org.apache.activemq.web.config.SystemPropertiesConfiguration has invalid getJmxUser() and getJmxPassword() methods -- user returns password, and vice-versa. This means you need to swap the webconsole.jmx.user and webconsole.jmx.password properties when using the web console configured via system-properties.
 
Current methods:
//-----------------------------------------------------
public String getJmxPassword() {
                return System.getProperty(PROPERTY_JMX_USER);
}

public String getJmxUser() {
                return System.getProperty(PROPERTY_JMX_PASSWORD);
}
//-----------------------------------------------------

These should be swapped.

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


[jira] Updated: (AMQ-2402) SystemPropertiesConfiguration swaps JMX user / password

Posted by "Bruce Snyder (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-2402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruce Snyder updated AMQ-2402:
------------------------------

    Fix Version/s: 5.5.0
                       (was: 5.4.1)

> SystemPropertiesConfiguration swaps JMX user / password
> -------------------------------------------------------
>
>                 Key: AMQ-2402
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2402
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.3.0
>         Environment: Linux
>            Reporter: Craig Condit
>            Priority: Minor
>             Fix For: 5.5.0
>
>
> org.apache.activemq.web.config.SystemPropertiesConfiguration has invalid getJmxUser() and getJmxPassword() methods -- user returns password, and vice-versa. This means you need to swap the webconsole.jmx.user and webconsole.jmx.password properties when using the web console configured via system-properties.
>  
> Current methods:
> //-----------------------------------------------------
> public String getJmxPassword() {
>                 return System.getProperty(PROPERTY_JMX_USER);
> }
> public String getJmxUser() {
>                 return System.getProperty(PROPERTY_JMX_PASSWORD);
> }
> //-----------------------------------------------------
> These should be swapped.

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