Hi,

you have to provide credentials to the connectionFactory bean in
webapps/admin/WEB-INF/webconsole-embedded.xml

such as

   <bean id="connectionFactory"
class="org.apache.activemq.ActiveMQConnectionFactory">
     <property name="brokerURL" value="vm://localhost"/>
     <property name="userName" value="test"/>
     <property name="password" value="test"/>   
   </bean>

alternately, you can take a look at patch for issue 1237
(https://issues.apache.org/activemq/browse/AMQ-1237)

Cheers

-- 
Dejan Bosanac


http://www.ttmsolutions.com - get a free ActiveMQ user guide

ActiveMQ in Action - http://www.manning.com/snyder/
Scripting in Java - http://www.scriptinginjava.net




Jacob Rhoden wrote:
> Hi,
>
> Im new to activeMQ and am trying to work out how to do some basic
> things. I want to at least enable some basic security so a password is
> required before a que can be accessed. However enabling security breaks
> the admin application, and errors continually appear in the log.
>
> This is what I added to the activemq.xml file:
>     <plugins>
>         <simpleAuthenticationPlugin>
>             <users>
>             <authenticationUser
>                     username="test" password="test"
>                     groups="users,admins"/>
>             </users>
>     </simpleAuthenticationPlugin>
>     </plugins>
>
> I attemted to edit some files in the Admin applications WEB-INF to
> include the usernamepassword however it alludes me what to put in there
> after a few hours of google searching and reading.
>
> Regards,
> Jacob
>
> ---
> Jacob Rhoden
> Systems Development and Integration
> Enterprise Applications
> Information Services
>
> University of Melbourne
> Level 2, 258 Queensberry Street
> Carlton Victoria, 3051
>
> Mobile:  +61 4 1095 7575
> Direct:  +61 3 8344 2884
> Fax:     +61 3 8344 2885
>
>
>

Reply via email to