pmlopes/yoke — pull request #48 by panzhangwang (2013-07-24 05:29:07+00:00)
Title: New Middleware to secure EventBus Bridge

Basic Usage:
1. Use BasicAuth or custom authentication to manage SessionStorage, add sessionID during login and remove sessionID after logout and blah blah...
2. Create a SockJSServer in your vertical, like,
```java
inboundPermitted = [
[
address : 'some-address',
requires_auth : true
]
]
vertx.createSockJSServer(server).bridge(prefix: '/eventbus', inboundPermitted, [[:]], 5 * 60 * 1000, 'auth_address')
```
3. User middleware BridgeSecureHandler
```java
new BridgeSecureHandler(vertx, "auth_address", "session.store")
```