activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AMQ-2402) SystemPropertiesConfiguration swaps JMX user / password
Date Mon, 07 Mar 2011 22:08:59 GMT

     [ https://issues.apache.org/jira/browse/AMQ-2402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Timothy Bish resolved AMQ-2402.
-------------------------------

    Resolution: Duplicate

This was fixed by AMQ-2352

> SystemPropertiesConfiguration swaps JMX user / password
> -------------------------------------------------------
>
>                 Key: AMQ-2402
>                 URL: https://issues.apache.org/jira/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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message