[rabbitmq-discuss] Saving login information in check_user_login

Simon MacMullen simon at rabbitmq.com
Tue Jun 11 10:59:46 BST 2013


Sure, when you return a #user{} record from check_user_login the 
record's "impl" field is for your plugin's use - it will be preserved 
and handed back to you in check_vhost_access and check_resource_access.

Cheers, Simon

On 11/06/13 03:47, vmadhipatla wrote:
> Hi
>
> Clients making connection to rabbitmq pass jasig CAS service ticket(Clients
> authenticate through CAS and fetch the service ticket) as user name. We
> wrote a authentication plugin and in check_user_login, we validate the
> service ticket and find out the user name. We want this user name to be set
> as part of the connection so that It can come back in the call to
> check_vhost_access and check_resource_access. How to do this?
> We want to make some authorization checks based on the actual user name
> figured out in check_user_login in the check_resource_access. Any idea how
> this can be done? We basically wants to save something in check_user_login
> that needs to get passed back in check_resource_access when it gets called
> during publish/subscribe.
>
> Thanks
> Venkat
>
>
>
> --
> View this message in context: http://rabbitmq.1065348.n5.nabble.com/Saving-login-information-in-check-user-login-tp27319.html
> Sent from the RabbitMQ mailing list archive at Nabble.com.
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>


-- 
Simon MacMullen
RabbitMQ, Pivotal


More information about the rabbitmq-discuss mailing list