Enrich the message for "connected" events with Principal [SPR-12479] #17085
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Daniel Siviter opened SPR-12479 and commented
When receiving all
AbstractSubProtocolEvent
events the content of theSessionConnectedEvent
differs and appears to be an embeddedSessionConnectEvent
inside of theSessionConnectedEvent
. A simple example using Spring Boot, Security and the simple broker results in the following logging:When attempting to access the user it's not possible without working around the embedded event. The logging code I'm using is as follows:
Inspection of the data reveals the following structure:
From stack trace:
Affects: 4.1.2
The text was updated successfully, but these errors were encountered: