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> bsnyder wrote: > > On Mon, Sep 15, 2008 at 8:35 AM, NabiL <[EMAIL PROTECTED]> 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)[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/ > > -- View this message in context: http://www.nabble.com/How-to-Secure-Webconsole---tp19489974p19522663.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.