salmar / spring-websocket-chat

Chat application using Spring WebSockets
614 stars 316 forks source link

Upgrade spring-websocket-chat example to Spring Boot 1.2.4. #1

Closed thomasdarimont closed 9 years ago

thomasdarimont commented 9 years ago

Updated to latest Spring Boot version 1.2.4.RELEASE. Updated to Spring Security 4.0.1. Adapted WebSocketSecurity configuration to latest changes in Spring Security 4.0.1, e.g. by explicitly the CSRF support for WS.

Some additional polishing: General code formatting. Added @Override annotations to get rid of some warnings. Added serializationUID to TooMuchProfanityException. Disabled debug logging in application.properties More idiomatic stream construction from arrays: Changed Arrays.asList(array).stream() to Arrays.stream(array) in ProfanityChecker.