activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lancedv <>
Subject Re: jaas security
Date Thu, 25 Oct 2007 09:01:56 GMT

Hi Tom

Thanks for taking time to help me out. Here's a snippet of my config:


   <jaasAuthenticationPlugin configuration="activemq-domain"/>
                <authenticationUser username="system" password="manager"
                <authenticationUser username="user" password="password"
                <authenticationUser username="guest" password="password"

             <authorizationEntry queue=">" read="admins" write="admins"
             <authorizationEntry topic=">" read="admins" write="admins"
           <!--  <authorizationEntry topic="sms.>" read="users"
write="users" admin="users"/> -->

read="tempDestinationAdmins" write="tempDestinationAdmins"



Im playin around with Jaas and simple plugins but had no success so far. I
checked the source and it seems im getting this error because of null
securitycontext being returned by getsecuritycontext method. My guess is
almost the same as yours that it is trying to authenticate itself but where
should i fix that?

Tom Samplonius-2 wrote:
> ----- "lancedv" <> wrote:
>> Hi guys,
>> Im trying to use jaas in my activemq instance and have followed the
>> instructions in the security page and some hints in this forum but im
>> getting this error when starting activemq:
>> ERROR BrokerService                  - Failed to start ActiveMQ JMS
>> Message
>> Broker. Reason: java.lang.SecurityException: User is not
>> authenticated.
> ...
>> im using activemq snapshot 5 running on fedora 6.
>   What does your config file look like?
>   Unfortunately, I found there are certain things you can password
> protect, and have other things work.  For instance, the management topic. 
> It will fail to be created, as apparently ActiveMQ demands that ActiveMQ
> use an admin password when connecting to itself.  It is a bit bizarre.
>> Any help will be very much appreciated. Thanks
>> -- 
>> View this message in context:
>> Sent from the ActiveMQ - User mailing list archive at
> Tom

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message