Erlang/OTP Forums

Author Message

<  RabbitMQ mailing list  ~  API for Acess Control

Guest
Posted: Wed Nov 04, 2009 10:31 am Reply with quote
Guest
Please anyone who know the .NET APIs for permission control such as Setting user permissions and Clearing user permissions?

Post received from mailinglist
Guest
Posted: Thu Nov 05, 2009 9:41 pm Reply with quote
Guest
Desrie

Currently you can do this with the rabbitmqctl tool - take a look at:
http://www.rabbitmq.com/admin-guide.html#access-control

alexis


On Wed, Nov 4, 2009 at 10:31 AM, Desrie Qi <desrie.qi@wealthcraft.com> wrote:
> Please anyone who know the .NET APIs for permission control such as Setting
> user permissions and Clearing user permissions?
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss@lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist
Guest
Posted: Fri Nov 06, 2009 1:37 am Reply with quote
Guest
Alexis

Do you mean currently is not possible for client to control this by win/web UI for RPC?

Thanks
Desrie

-----Original Message-----
From: Alexis Richardson [mailto:alexis.richardson@gmail.com]
Sent: Friday, 6 November 2009 5:41 AM
To: Desrie Qi
Cc: rabbitmq-discuss@lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] API for Acess Control

Desrie

Currently you can do this with the rabbitmqctl tool - take a look at:
http://www.rabbitmq.com/admin-guide.html#access-control

alexis


On Wed, Nov 4, 2009 at 10:31 AM, Desrie Qi <desrie.qi@wealthcraft.com> wrote:
> Please anyone who know the .NET APIs for permission control such as Setting
> user permissions and Clearing user permissions?
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss@lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist
Guest
Posted: Fri Nov 06, 2009 8:12 am Reply with quote
Guest
Desrie,

Desrie Qi wrote:
> Do you mean currently is not possible for client to control this by win/web UI for RPC?

You asked about .NET APIs. If you want a win/web UI, then there are
existing monitoring and "management" UIs that people have written. IIRC
some of them allow configuration of the broker, rather than just
monitoring, but I could be wrong. Alexis may have a list somewhere of
the UIs we are currently aware of.


Regards,

Matthias.

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist
Guest
Posted: Fri Nov 06, 2009 8:25 am Reply with quote
Guest
On Fri, Nov 6, 2009 at 8:12 AM, Matthias Radestock <matthias@lshift.net> wrote:
>
> Desrie Qi wrote:
>>
>> Do you mean currently is not possible for client to control this by
>> win/web UI for RPC?
>
> You asked about .NET APIs. If you want a win/web UI, then there are existing
> monitoring and "management" UIs that people have written. IIRC some of them
> allow configuration of the broker, rather than just monitoring, but I could
> be wrong. Alexis may have a list somewhere of the UIs we are currently aware
> of.

Indeed...

Desrie,

You can also use a pair of tools called Alice and Wonderland.
Wonderland is a web GUI. It is a front end for Alice which is a
programmatic HTTP interface for RabbitMQ:
http://willcodeforfoo.com/2009/07/13/announcing-alice/

Links to other tools and blog posts about management are here:
http://delicious.com/alexisrichardson/rabbitmq+management

alexis

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist
Guest
Posted: Fri Nov 06, 2009 10:32 am Reply with quote
Guest
Matthias

I just want to build a web UI myself by .Net AMQP API to achieve manage RabbitMQ permissions. I have difficulty to read Erlang.

Thanks
Desrie

-----Original Message-----
From: Matthias Radestock [mailto:matthias@lshift.net]
Sent: Friday, 6 November 2009 4:12 PM
To: Desrie Qi
Cc: Alexis Richardson; rabbitmq-discuss@lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] API for Acess Control

Desrie,

Desrie Qi wrote:
> Do you mean currently is not possible for client to control this by win/web UI for RPC?

You asked about .NET APIs. If you want a win/web UI, then there are
existing monitoring and "management" UIs that people have written. IIRC
some of them allow configuration of the broker, rather than just
monitoring, but I could be wrong. Alexis may have a list somewhere of
the UIs we are currently aware of.


Regards,

Matthias.

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist
Guest
Posted: Fri Nov 06, 2009 10:37 am Reply with quote
Guest
Desrie

You could build a GUI in .NET using any .NET tools you like, and make
use of the Alice HTTP management interface that I sent you a link to.
That way not only do you not have to read Erlang, but you can use
HTTP to talk to RabbitMQ instead of AMQP Smile

For example see this use case from
http://willcodeforfoo.com/2009/07/13/announcing-alice/. Below the
example is using curl but you could make the HTTP call from your .NET
client...

# Setting permissions
curl -i -XPOST -d '{"vhost":"/", "configure":".*", "read":".*", "write":".*"}' \
http://localhost:9999/permissions/guest
HTTP/1.1 200 OK
Server: MochiWeb/1.0 (Any of you quaids got a smint?)
Date: Tue, 04 Aug 2009 07:55:33 GMT
Content-Type: text/json
Content-Length: 38

{"permissions":[["/",".*",".*",".*"]]}

Does that get you what you need?

alexis


On Fri, Nov 6, 2009 at 10:31 AM, Desrie Qi <desrie.qi@wealthcraft.com> wrote:
> Matthias
>
> I just want to build a web UI myself by .Net AMQP API to achieve manage RabbitMQ permissions. I have difficulty to read Erlang.
>
> Thanks
> Desrie
>
> -----Original Message-----
> From: Matthias Radestock [mailto:matthias@lshift.net]
> Sent: Friday, 6 November 2009 4:12 PM
> To: Desrie Qi
> Cc: Alexis Richardson; rabbitmq-discuss@lists.rabbitmq.com
> Subject: Re: [rabbitmq-discuss] API for Acess Control
>
> Desrie,
>
> Desrie Qi wrote:
>> Do you mean currently is not possible for client to control this by win/web UI for RPC?
>
> You asked about .NET APIs. If you want a win/web UI, then there are
> existing monitoring and "management" UIs that people have written. IIRC
> some of them allow configuration of the broker, rather than just
> monitoring, but I could be wrong. Alexis may have a list somewhere of
> the UIs we are currently aware of.
>
>
> Regards,
>
> Matthias.
>

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist
Guest
Posted: Fri Nov 06, 2009 10:49 am Reply with quote
Guest
Alexis

Appreciate for your great help. I'll get a try.

Thanks
Desrie

-----Original Message-----
From: Alexis Richardson [mailto:alexis.richardson@gmail.com]
Sent: Friday, 6 November 2009 6:37 PM
To: Desrie Qi
Cc: Matthias Radestock; rabbitmq-discuss@lists.rabbitmq.com; jim@rabbitmq.com
Subject: Re: [rabbitmq-discuss] API for Acess Control

Desrie

You could build a GUI in .NET using any .NET tools you like, and make
use of the Alice HTTP management interface that I sent you a link to.
That way not only do you not have to read Erlang, but you can use
HTTP to talk to RabbitMQ instead of AMQP Smile

For example see this use case from
http://willcodeforfoo.com/2009/07/13/announcing-alice/. Below the
example is using curl but you could make the HTTP call from your .NET
client...

# Setting permissions
curl -i -XPOST -d '{"vhost":"/", "configure":".*", "read":".*", "write":".*"}' \
http://localhost:9999/permissions/guest
HTTP/1.1 200 OK
Server: MochiWeb/1.0 (Any of you quaids got a smint?)
Date: Tue, 04 Aug 2009 07:55:33 GMT
Content-Type: text/json
Content-Length: 38

{"permissions":[["/",".*",".*",".*"]]}

Does that get you what you need?

alexis


On Fri, Nov 6, 2009 at 10:31 AM, Desrie Qi <desrie.qi@wealthcraft.com> wrote:
> Matthias
>
> I just want to build a web UI myself by .Net AMQP API to achieve manage RabbitMQ permissions. I have difficulty to read Erlang.
>
> Thanks
> Desrie
>
> -----Original Message-----
> From: Matthias Radestock [mailto:matthias@lshift.net]
> Sent: Friday, 6 November 2009 4:12 PM
> To: Desrie Qi
> Cc: Alexis Richardson; rabbitmq-discuss@lists.rabbitmq.com
> Subject: Re: [rabbitmq-discuss] API for Acess Control
>
> Desrie,
>
> Desrie Qi wrote:
>> Do you mean currently is not possible for client to control this by win/web UI for RPC?
>
> You asked about .NET APIs. If you want a win/web UI, then there are
> existing monitoring and "management" UIs that people have written. IIRC
> some of them allow configuration of the broker, rather than just
> monitoring, but I could be wrong. Alexis may have a list somewhere of
> the UIs we are currently aware of.
>
>
> Regards,
>
> Matthias.
>

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum