On Tue, Sep 16, 2008 at 5:27 PM, NabiL <[EMAIL PROTECTED]> 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)[EMAIL 
PROTECTED]&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/

Reply via email to