从安全性的角度来看,@EnableWebSecurity和@EnableWebFluxSecurity有什么不同?
我正在尝试使用Spring Cloud Gateway,它在下游支持很少的反应式微服务。也很少有普通的web服务。并希望在应用程序接口网关中使用@EnableWebSecuirty。那么,这是否也适用于响应式服务?
发布于 2021-02-02 18:00:38
它们都具有相同的安全语义,但是在MVC堆栈中使用@EnableWebSecurity,而在反应式堆栈中使用@EnableWebFluxSecurity (启用Spring security WebFlux)。
https://stackoverflow.com/questions/62989571
复制相似问题