Get Websocket session data in Spring when handing STOMP SEND
<p>Spring Websocket tutorial tells that if I like to handle STOMP SEND command, I shall use (<a href="http://docs.spring.io/spring/docs/current/spring-framework-reference/html/websocket.html" rel="nofollow noreferrer">http://docs.spring.io/spring/docs/current/spring-framework-reference/html/websocket.html</a>) </p>

<pre><code>@Controller
public class GreetingController {

    @MessageMapping("/greeting") {
    public String handle(String greeting) {
    return "[" + getTimestamp() + ": " + greeting;
    }

}
</code></pre>

<p>I need however also know which Websocket Session was sending this, in order to do the check like</p>

<pre><code>if (sessionIsAllowedToDoThings(sessionData))   {...}
</code></pre>

<p>How I can therefore get Websocket Session data for this example?</p>