我在我的微服务中使用 SSO 和 preAuthenticated Filter。微服务是使用 Spring Boot 构建的,本质上是无状态的。如何使用 Spring Security 在所有微服务中应用 CSRF 保护。请让我知道是否有任何解决方案可用于为此场景实施 CSRF。
问问题
95 次
1 回答
0
您可能正在寻找代理服务器。看看 Zuul 及其安全过滤器:
https://github.com/spring-cloud/spring-cloud-netflix/issues/796
https://github.com/spring-cloud/spring-cloud-security/issues/88
于 2018-08-02T09:27:40.017 回答