activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <tb...@alumni.duke.edu>
Subject Re: SecurityException: User is not authenticated
Date Tue, 07 Apr 2015 02:43:57 GMT
Did you enable authentication in jetty.xml as described in
http://activemq.apache.org/web-console.html?
On Apr 6, 2015 6:35 PM, "Scammell" <mark.harris@meridianenergy.co.nz> wrote:

> Hello,
>
> I'm trying to set up ActiveMQ version 5.10.1 on Red Hat Enterprise Linux
> Server release 7.1 with a new user which can use the web console. What I
> have done:
>
> 1) Created following entry in users.properties: myUser=myPwd
> 2) Added the user to the 'publishers' and 'consumers' groups in
> groups.properties
> 3) Added the following to jetty-realm.properties to enable access to the
> web
> console: myUser: myPwd, user
> 4) Added the following in the activemq.xml file under plugins
> ->authorizationPlugin -> map -> authorizationMap:
>
> <authorizationEntries>
>     <authorizationEntry queue=">" read="admins" write="admins"
> admin="admins" />
>     <authorizationEntry queue="MYQUEUES.>" read="consumers"
> write="publishers" admin="admins" />
>     <authorizationEntry topic=">" read="admins" write="admins"
> admin="admins" />
>     <authorizationEntry topic="MYQUEUES.>" read="consumers"
> write="publishers" admin="admins" />
> </authorizationEntries>
>
> I can log into the console with the new user, but am getting
> "SecurityException: User is not authenticated" messages in ActiveMQ's log
> file when, in the web console, I try and click on any of the ActiveMQ
> queues
> I have created.
>
> The error is occurring when it's creating a bean with name 'queueBrowser'
> defined in /WEB-INF/webconsole-query.xml.
>
> Thanks for any assistance.
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/SecurityException-User-is-not-authenticated-tp4694392.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message