Hi,
Good you post the complete exception?
This could well be a namespace issue. Try adding an empty xmlns to your
spring beans:
<bean id="users" class="java.util.HashMap" xmlns="">
<property name="user1" value="user1"/>
<property name="user2" value="user2"/>
</bean>
Refer to this thread also, in case this is your issue:
http://www.nabble.com/Refreshing+authorizationPlugin++config-t1368949.html#a3889989
Hope this helps. :)
Regards,
Adrian Co
nazgul wrote:
Hi,
Can anyone help me configure the broker using SimpleAuthenticationPlugin?
I've already tried these in activemq.xml:
<beans ...>
<broker ...>
...
<plugins>
<simpleAuthenticationPlugin userGroups="#groups"
userPasswords="#users"/>
</plugins>
</broker>
...
<bean id="users" class="java.util.HashMap">
<property name="user1" value="user1"/>
<property name="user2" value="user2"/>
</bean>
<bean id="groups" class="java.util.HashMap">
<property name="user1" value="admin"/>
<property name="user2" value="admin"/>
</bean>
...
</beans>
And when I start the broker, it's returning an error creating bean.
Can anyone help me, pls?
--
View this message in context:
http://www.nabble.com/Help+with+SimpleAuthenticationPlugin-t1697796.html#a4607329
Sent from the ActiveMQ - User forum at Nabble.com.