Setting user header on CONNECT message stopped working [SPR-15822] #20377
We followed instructions in Token-Based Authentication in Spring doc at http://docs.spring.io/spring/docs/5.0.0.M5/spring-framework-reference/html/websocket.html#websocket-stomp-authentication-token-based, in order to set the user header on the CONNECT Message. In Spring framework 4.3.9, it works well. After migrating to 5.0.0 RC2, we found it stopped working. After some investigation, we tend to believe it is a bug in 5.0.0 RC2 as well as RC3.
[5.0.0 RC2 behavior] - bad
[4.3.9 behavior] - good
This commit (f813712#diff-7bc1370febf168db39f9b3a608f68fe8) caused this regression. FYI.
Affects: 5.0 RC2, 5.0 RC3
Referenced from: commits 25e6a2d