Rob Winch opened SPR-12716 and commented
WebSocketTransportHandler passes in an empty Map into the delegate HandshakeHandler. This causes two problems:
- The first is that no attributes that are were copied from any
HandshakeInterceptor instances are available. For example, TransportHandlingSockJsService will invoke the HandshakeInterceptor and then delegate to a WebSocketTransportHandler. Since the attributes provided by the HandshakeInterceptor are not passed into the delegate HandshakeHandler
- The second is that the delegate
HandshakeHandler cannot populate any attributes to be provided in the WebSocket Session. For one Collections.<String, Object>emptyMap() is immutable. For two, the values are never copied to the WebSocket Session.
Affects: 4.1.4