Add a todo to re-enable WebSocket CSRF

This commit is contained in:
anthonyraymond 2017-07-31 01:25:46 +02:00
parent 640a33fd85
commit f47f7d9e19

View file

@ -17,6 +17,7 @@ public class WebSocketAuthorizationSecurityConfig extends AbstractSecurityWebSoc
messages.anyMessage().authenticated();
}
// TODO : Add CSRF token support: https://docs.spring.io/spring-security/site/docs/current/reference/html/websocket.html#websocket-sameorigin-csrf
@Override
protected boolean sameOriginDisabled() {
return true;