You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by drp <ro...@gmail.com> on 2011/01/24 06:42:01 UTC

REST - Securing Queues with user / password ?

there´s a way to secure access to each Q in broker (user/pass) using REST
interface?

Case:
- 2 clients A and B
- one Q for each one: QA and QB
- I don´t what A to see QB messages (same for B and QA), so I choose to use
user/pass auth

theres any way to make some thing like this to work?
http://localhost:8161/demo/message/QA?type=queue&user=A&pass=12345

(user/pass stored in some config file or database)


Regards,
DR
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/REST-Securing-Queues-with-user-password-tp3233380p3233380.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: REST - Securing Queues with user / password ?

Posted by Dejan Bosanac <de...@nighttale.net>.
Hi,

that's not possible at the moment.

You can secure your rest interface, by securing the embedded web server instance

http://activemq.apache.org/web-console.html#WebConsole-SecuringWebConsole

but those credentials will not be used when creating connections to the broker.

Regards
--
Dejan Bosanac
-----------------
FuseSource - The experts in open source integration and messaging.
Email: dejanb@fusesource.com
Web: http://fusesource.com
Twitter:  http://twitter.com/dejanb
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net



On Mon, Jan 24, 2011 at 6:42 AM, drp <ro...@gmail.com> wrote:
>
> there´s a way to secure access to each Q in broker (user/pass) using REST
> interface?
>
> Case:
> - 2 clients A and B
> - one Q for each one: QA and QB
> - I don´t what A to see QB messages (same for B and QA), so I choose to use
> user/pass auth
>
> theres any way to make some thing like this to work?
> http://localhost:8161/demo/message/QA?type=queue&user=A&pass=12345
>
> (user/pass stored in some config file or database)
>
>
> Regards,
> DR
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/REST-Securing-Queues-with-user-password-tp3233380p3233380.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>