Spring Security 5 with Netty

Viewed 1184

Got a problem with authentication configuration with Spring Security 5.0.0.RC1 in a Spring Boot 2.0.0.M6 application. All the samples I've managed to find are being based on WebSecurityConfigurerAdapter (like this one for example), which on it's turn depends on the javax.servlet.Filter. As spring-boot-starter-webflux by default goes with Netty, expectedly there is no Servlet API implementation included, so the configuration done this way can't even be compiled.

Am I missing some Netty-compatible way of having authentication configured?

0 Answers
Related