[rabbitmq-discuss] Authorization in RabbitMQ

Miguel Morales therevoltingx at gmail.com
Mon Oct 4 21:17:31 BST 2010

I've run into this issue as well.  I couldn't find a good way to
authenticate packets without having to add extra authentication data.
It actually wasn't an issue beside perhaps the extra bytes.

However, I decided that each user would have an account in the broker.
 I was still unable to figure out how to authenticate users when they
post to a single queue.

For now, I create a queue for each user and user their (encrypted)
password as the binding key.  Then I just keep a consumer process for
each user.  (So each user can only post to that one queue)

Not sure if that's the optimal approach, but it keeps the structure
fairly clean.

On Mon, Oct 4, 2010 at 7:15 AM, Marek Majkowski <majek04 at gmail.com> wrote:
> On Mon, Oct 4, 2010 at 14:38, Ralf Kistner <ralf.kistner at gmail.com> wrote:
>> So far the best solution seems to be to implement a custom protocol,
>> with a small application on the server relaying the messages to
>> RabbitMQ via AMQP.
> Sounds fine. I suggest HTTP if it suits your use case. Ruby eventmachine
> library is pretty pleasant, python Twisted one is okay but requires a bit
> more time to learn.
> Marek
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

~ Jeremiah:9:23-24
Android 2D MMORPG: http://developingthedream.blogspot.com/,

More information about the rabbitmq-discuss mailing list