Autobahn|Cpp Authentication

39 views
Skip to first unread message

David Chappelle

unread,
Nov 22, 2014, 10:33:44 AM11/22/14
to autob...@googlegroups.com
I don't see any code for authentication in the cpp implementation. What are the plans here?

David Chappelle

unread,
Nov 22, 2014, 10:59:01 AM11/22/14
to autob...@googlegroups.com
I think I jumped on this too soon. The Cpp implementation is simply passed an already connected socket or (IStream/OStream). So authentication would happen at the layer above where the physical connection is made. So I guess my question is how would this authentication take place. The crossbar.io WAMP router has authentication capabilities. How would a Cpp component utilize them to authenticate itself?

Tobias Oberstein

unread,
Nov 22, 2014, 3:15:24 PM11/22/14
to autob...@googlegroups.com
Am 22.11.2014 16:33, schrieb David Chappelle:
> I don't see any code for authentication in the cpp implementation. What
> are the plans here?

The plan is to implement (at least) WAMP-CRA:
https://github.com/tavendo/AutobahnCpp/issues/18

Tobias Oberstein

unread,
Nov 22, 2014, 3:34:13 PM11/22/14
to autob...@googlegroups.com
Am 22.11.2014 16:59, schrieb David Chappelle:
> I think I jumped on this too soon. The Cpp implementation is simply
> passed an already connected socket or (IStream/OStream). So
> authentication would happen at the layer above where the physical
> connection is made. So I guess my question is how would this

Not necessarily. With WAMP, you can do authentication at the transport
level (e.g. when doing TLS client certificate based auth. or cookies
when doing WebSocket) or at the WAMP level (e.g. using WAMP-CRA).

> authentication take place. The crossbar.io WAMP router has
> authentication capabilities. How would a Cpp component utilize them to
> authenticate itself?

TLS Client Certs.
WebSocket/cookies
WAMP-CRA
...


>
> On Saturday, 22 November 2014 10:33:44 UTC-5, David Chappelle wrote:
>
> I don't see any code for authentication in the cpp implementation.
> What are the plans here?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Autobahn" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to autobahnws+...@googlegroups.com
> <mailto:autobahnws+...@googlegroups.com>.
> To post to this group, send email to autob...@googlegroups.com
> <mailto:autob...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/autobahnws/c591f52c-4249-4692-8764-2e026ace21a7%40googlegroups.com
> <https://groups.google.com/d/msgid/autobahnws/c591f52c-4249-4692-8764-2e026ace21a7%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages