activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Snyder" <bruce.sny...@gmail.com>
Subject Re: How to Secure Webconsole ?
Date Mon, 15 Sep 2008 14:57:11 GMT
On Mon, Sep 15, 2008 at 8:35 AM, NabiL <elaomari.nabil@gmail.com> wrote:
>
> hi,
>
> thanks for your reply.
> I modified the webconsole-embedded.xml to something like this
>  <bean id="connectionFactory"
> class="org.apache.activemq.ActiveMQConnectionFactory">
>    <property name="brokerURL" value="vm://localhost"/>
>    <property name="userName" value="system"/>
>    <property name="password" value="manager"/>
>  </bean>
>  it still does'nt work !! i restart the amq, No erros occured. When i logged
> into webconsole, no login is required !!!!

If you want authentication on the broker, you'll need to set up the
JAAS plugin as explained here:

http://activemq.apache.org/security.html#Security-Authentication

If you want authentication on the web console itself and not the
broker, see the example of setting up BASIC authentication via Jetty
here:

http://activemq.apache.org/web-console.html#WebConsole-ExampleconfigurationusingJetty6

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/

Blog: http://bruceblog.org/

Mime
View raw message