public final class UserSessionWebSocketHandlerDecoratorFactory extends Object implements org.springframework.web.socket.handler.WebSocketHandlerDecoratorFactory
Principal.getName() to a WebSocket session id. The mappings are stored in an
SimpUserRegistry bean.
The UserSessionRegistry handling is not enabled by default! See
AbstractUserWampConfigurer for configuration.| Constructor and Description |
|---|
UserSessionWebSocketHandlerDecoratorFactory(org.springframework.context.ApplicationEventPublisher eventPublisher) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.socket.WebSocketHandler |
decorate(org.springframework.web.socket.WebSocketHandler handler) |
Copyright © 2014–2017. All rights reserved.