It is replaced by @EnableWebSocketSecurity

Comment From: jzheaux

Closed in favor of https://github.com/spring-projects/spring-security/pull/17328