[
https://issues.apache.org/activemq/browse/AMQ-2352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54872#action_54872
]
Dejan Bosanac commented on AMQ-2352:
------------------------------------
Hi,
when you use webconsole-properties.xml you should configure your console using
system properties. System properties configuration currently allows you to use
-Dwebconsole.jms.user and -Dwebconsole.jms.password properties which will be
used in created connection factory.
As a demonstration I started 5.3.0 broker using conf/activemq-security.xml
$ bin/activemq xbeanconf/activemq-security.xml
and successfully connected using
mvn jetty:run -Dwebconsole.type=properties
-Dwebconsole.jms.url=tcp://localhost:61616
-Dwebconsole.jmx.url=service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
-Dwebconsole.jms.user=system -Dwebconsole.jms.password=manager
Does this works for you? If not, can you clarify a bit more on what are you
trying to achieve?
Regards
Dejan
> 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.