I\'m playing around with the new (as of version 4.2) java STOMP client support. My starting point is the getting started guide (Using WebSocket to build an interactive web appl
You can check the http filter(such as shiro filter) or HandlerInterceptor.