activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Isuru <>
Subject Re: ActiveMQ authorization error with OpenLDAP
Date Thu, 27 Feb 2014 08:31:52 GMT
Hi All

Any feedback on this would be really appreciated. 

I kind of tried to debug the issue and realized inside the
addProducer(ConnectionContext context, ProducerInfo info) method of the given below
condition becomes true.

if (allowedACLs != null && !securityContext.isInOneOf(allowedACLs)) {
                throw new SecurityException("User " +
securityContext.getUserName() + " is not authorized to write to: " +

The allowedACLs is not NULL here , but when checking if the securityContext
has these allowed ACLs then it returns a false get the exception. I noticed
that in the securityContext both authorizedReadDests and
authorizedWriteDests (Cpncurrent HashMaps) are empty for the user. 

And inside isInOneOf(allowedACLs) method the group of my user is not
properly being retrieved as I could understand. 

Appreciate any sort of assistance here , since this really needs to be
completed soon.


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

View raw message