How to get/set the principal and session attributes from Spring 4 stomp websocket methods

后端 未结 2 945
[愿得一人]
[愿得一人] 2021-02-02 15:33

I\'m doing experiments with Spring 4 websockets and stomp, and I have a hard time figuring out how to get/set the current user and other session attributes in a message handling

2条回答
  •  难免孤独
    2021-02-02 16:08

    This is impossible for the time being (Spring 4.0). An issue has been opened (and considered) at Spring: https://jira.springsource.org/browse/SPR-11228

提交回复
热议问题