[rabbitmq-discuss] RabbitMQ logs, ticket check
Edwin Fine
rabbitmq-discuss_efine at usa.net
Tue Aug 5 17:33:04 BST 2008
Ben,
setup_channel(Connection, Realm) ->
Channel = amqp_connection:open_channel(Connection),
Access = #'access.request'{realm = Realm,
exclusive = false,
passive = true,
active = true,
write = true,
read = true},
#'access.request_ok'{ticket = Ticket} = amqp_channel:call(Channel,
Access),
{Channel, Ticket}.
This is used in a few places, which pass Realm around, so they will have to
be changed. I also use it with the internal API to create realms using
Erlang, but of course I am not complaining about that changing.
Regards,
Edwin
On Tue, Aug 5, 2008 at 11:58 AM, Ben Hood <0x6e6562 at gmail.com> wrote:
> Edwin,
>
> On Tue, Aug 5, 2008 at 4:12 PM, Edwin Fine
> <rabbitmq-discuss_efine at usa.net> wrote:
> > Ben,
> >
> > Um, does this mean that:
> >
> > In rabbitmqctl,
> >
> > add_realm <VHostPath> <RealmName>
> > delete_realm <VHostPath> <RealmName>
> > list_realms <VHostPath>
> > set_permissions <UserName> <VHostPath> <RealmName> [<Permission> ...]
> >
> > will disappear?
>
> Yes.
>
> > Furthermore, does this mean that our code will have to remove all
> references
> > to realms? Or are you leaving all that syntax in place but just making it
> a
> > NOOP?
>
> If you using an internal API, e.g. rabbitmqctl, then yes, we are
> removing all references to it.
>
> Internal APIs are always subject to change.
>
> If you are using the wire protocol, the access.request command and
> usage of tickets will become NOOPs.
>
> Also, although I can't say with any certainty, because it is pending a
> vote by the working group on 0-9 SP1, the fields *may* also be removed
> from the wire format.
>
> However, if you are using the Erlang client, this will be transparent to
> you.
>
> Just out of interest's sake, what functionality are you actually using
> wrt to realms?
>
> HTH,
>
> Ben
>
>
--
For every expert there is an equal and opposite expert - Arthur C. Clarke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20080805/2311eded/attachment.htm
More information about the rabbitmq-discuss
mailing list