do not forgot <jaasAuthenticationPlugin configuration="activemq-domain"/> like this http://svn.apache.org/repos/asf/activemq/trunk/activemq-unit-tests/src/test/resources/org/apache/activemq/security/jaas-broker.xml
Kind regards. *BENNOUR HASSEN* *SOA **Architect **/ **Java **Software Engineer* 2016-07-14 14:29 GMT+02:00 Hassen Bennour <bennour.has...@gmail.com>: > Hello, > > you can find these informations here > http://activemq.apache.org/security.html > > for your use case you can do it like this : > > <plugins> > ... > <authorizationPlugin> > <map> > <authorizationMap> > <authorizationEntries> > <authorizationEntry queue="testQueue" read="Consumer" write="Producer" > admin="admin"/> > </authorizationEntries> > </authorizationMap> > </map> > </authorizationPlugin> > </plugins> > > you can work with users or groups. > > > > > > Kind regards. > > *BENNOUR HASSEN* > > *SOA **Architect **/ **Java **Software Engineer* > > 2016-07-14 13:35 GMT+02:00 vas u <mail...@gmail.com>: > >> Unsubscribe >> On Jul 12, 2016 11:54 AM, "prashdeep" <pradeep.kuma...@gmail.com> wrote: >> >> > I have setup activemq on my system. I have created a Queue called >> > "testQueue". I need to give restricted access to this queue by creating >> two >> > users named "Producer" and "Consumer" with passwords >> > >> > Other than Producer and Consumer no one should be able to access the >> queue >> > "testQueue". How to get this done in activeMq? >> > >> > >> > >> > -- >> > View this message in context: >> > >> http://activemq.2283324.n4.nabble.com/creating-users-to-access-the-queues-tp4713858.html >> > Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. >> > >> > >