Re: Adding users on the fly ACTIVEMQ

2008-04-30 Thread rbramley
greenapple wrote: > > Say a new application yyy requested to use JMS. > > My job as a JMS admin is to create the queues needed (on the fly), add > users and groups (on the fly) and grant permissions to certain users and > groups to read/write/both/etc (also on the fly). > > By on the fly, I m

Re: Adding users on the fly ACTIVEMQ

2008-04-24 Thread greenapple
Thanks Abdul for your time, Exactly I am trying to do the following: Say a new application yyy requested to use JMS. My job as a JMS admin is to create the queues needed (on the fly), add users and groups (on the fly) and grant permissions to certain users and groups to read/write/both/etc (al

Re: Adding users on the fly ACTIVEMQ

2008-04-24 Thread Abdul Alhazred
Right. OK, there are a couple of different issues. 1) If ALL you want to do is add users and the permissions of the users will be set up entirely in the activemq.sql file, then you would just need to create a JAAS auth realm and if you say want to use JDBC then write or acquire a JDBC JAAS auth m

Re: Adding users on the fly ACTIVEMQ

2008-04-24 Thread greenapple
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 users.properties and groups.properties But somehow, doing this does not s

Re: Adding users on the fly ACTIVEMQ

2008-04-23 Thread Abdul Alhazred
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 implementati

Re: Adding users on the fly ACTIVEMQ

2008-04-22 Thread Dejan Bosanac
I think the only way at the moment is to use LDAP JAAS login module ( http://activemq.apache.org/maven/activemq-jaas/apidocs/org/apache/activemq/jaas/LDAPLoginModule.html). The appropriate relational database solution is still to come. Cheers -- Dejan Bosanac www.scriptinginjava.net On Tue, Apr