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 Tue, 16 Sep 2008 23:39:31 GMT
On Tue, Sep 16, 2008 at 5:27 PM, NabiL <elaomari.nabil@gmail.com> wrote:
>
>
> Concerninf first step (1. Define a UserRealm in jetty.xml), i don't find the
> jetty.xml file
>
> <Set name="UserRealms">
>      <Array type="org.mortbay.jetty.security.UserRealm">
>        <Item>
>          <New class="org.mortbay.jetty.security.HashUserRealm">
>            <Set name="name">ActiveMQ Realm</Set>
>            <Set name="config"><SystemProperty name="jetty.home"
> default="."/>/etc/amqrealm.properties</Set>
>          </New>
>        </Item>
>      </Array>
>    </Set>

I've created an example below using the XBean syntax that I think
reflects the Jetty config above:

<userRealms>
  <userRealm implementation="org.mortbay.jetty.security.HashUserRealm">
    <name>ActiveMQ Realm</name>
    <config>/etc/amqrealm.properties</config>
  </userRealm>
</userRealms>

Add this to the conf/activemq.xml inside the <jetty> element. This is
all just Jetty configuration using the XBean style of syntax.

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