activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From greenapple <>
Subject Re: Adding users on the fly ACTIVEMQ
Date Thu, 24 Apr 2008 15:04:29 GMT

Thanks Abdul and Dejan,

Do you need an LDAP server to use LDAP authorization? My knowledge is
minimal in LDAP.

I found out through trial and error that you can add users on the fly using
JAAS authentication and by editing and

But somehow, doing this does not seem right since I would like to provide a
UI for users to 

Abdul Alhazred wrote:
> greenapple wrote:
>> I have activemq running and a new user asks for an account. Is it
>> possible to add users and groups on the fly to the list of users and
>> groups in activemq without restarting it?
>> If so, how? Can I do it programmatically? 
> Well, you'd need to have an implementation of an AuthorizationMap that
> picks up its data from someplace. I think I saw there is an LDAP one. The
> default just gets it from the XML in the config file, which is obviously
> no good for your purposes. There doesn't seem to be one that supports JDBC
> right now, but I know one of these days soon I'm going to have to write
> one because all my JAAS stuff is in there (I did write a JAAS auth module
> for JDBC which works). You'll probably need something like that too in
> order to authenticate the users from your data store. As a guess I'd say
> it might take a couple days to unravel the AuthorizationMap interface and
> implement something that works. Have a go at it! 

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

View raw message