activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "philippe tseyen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-2352) it should be possible to specify userName and password in the webconsole-properties.xml
Date Wed, 21 Oct 2009 15:41:53 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-2352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54877#action_54877
] 

philippe tseyen commented on AMQ-2352:
--------------------------------------

hi,

I reported the issue against 5.2.0. I quickly checked the source code of 5.3.0 and it seems
that something changed in that area:

<bean id="connectionFactory" factory-bean="configuration" factory-method="getConnectionFactory"
/> 

The bean is now retrieved using a factory method. I guess the getConnectionFactory factory
method takes the settings from the system properties. 

I don't have time anymore to do the validation with active mq 5.3.0 today, but I'll get back
to you tomorrow. It looks like this issue is indeed fixed in 5.3.0.

Philippe

> it should be possible to specify userName and password in the webconsole-properties.xml
> ---------------------------------------------------------------------------------------
>
>                 Key: AMQ-2352
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2352
>             Project: ActiveMQ
>          Issue Type: Improvement
>    Affects Versions: 5.2.0
>            Reporter: philippe tseyen
>            Assignee: Dejan Bosanac
>            Priority: Minor
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> file to adapt src\activemq-web-console\src\main\webapp\WEB-INF\webconsole-properties.xml
> <bean id="connectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
> <property name="brokerURL" value="${webconsole.jms.url}"/>
> *<property name="userName" value="${webconsole.jms.userName}"/>*
> *<property name="password" value="${webconsole.jms.password}"/>*
>   </bean>  

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


Mime
View raw message