Closed angeloh closed 10 years ago
Looks good. But how to get started on this module? Any example?
One thing I don't understand is eventbusbridge has auth too. If I add the auth_address and requires_auth to inbound_permitted, it will do the auth too. What is the difference between realtime-auth and auth-mgr in vertx?
Realtime-auth demonstrates how to set a server hook, you do not need this module, you should create your own auth mod for custom usage.
Ok. So u just use the same way that you passed in hook in realtime-auth?— Sent from Mailbox
On Thu, May 29, 2014 at 9:52 PM, 田传武 notifications@github.com wrote:
Realtime-auth demonstrates how to set a server hook, you do not need this module, you should create your own auth mod for custom usage.
Reply to this email directly or view it on GitHub: https://github.com/goodow/realtime-channel/issues/6#issuecomment-44614941
Right!
From this code, https://github.com/vert-x/vertx-examples/blob/6a48680b9072c0d7212c845c41e0cacfa147545f/src/raw/java/eventbusbridge/BridgeServer.java
one can setup a server hook to handler register authorize things like that. This is missing from realtime-channel server side.