Hi,

you can query the User-Id in the message metadata. See the example code on 
http://api.zeromq.org/4-2:zmq-msg-gets

Best regards
Simon

Von: zeromq-dev [mailto:zeromq-dev-boun...@lists.zeromq.org] Im Auftrag von 
Andrei Bica
Gesendet: Donnerstag, 19. Oktober 2017 15:16
An: zeromq-dev@lists.zeromq.org
Betreff: [zeromq-dev] Indentify message sender

I'm using CURVE mechanism to authenticate clients connecting to a server and 
using its services trough ZeroMQ (ROUTER/DEALER). Is it possible to identify 
who sent the request? Which client sent the request so I can perform 
authorisation checks (e.g. if the client has the proper permissions to do some 
operation)? Or ZeroMQ and CURVE was not intended to be used this way?
Thanks,
Andrei Bica
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to