【发布时间】:2017-06-26 09:47:57
【问题描述】:
我正在努力将 Spring Security SAML 集成到我们现有的安全基础架构中,以处理合作伙伴 SSO。我正在查看 Spring Security SAML 作为模板附带的示例应用程序。
我看到在 SAML 中,SP 必须指定 AssertionConsumerServiceBinding 以提供 IdP 将向其发送 AuthenticationResponse 的返回 url。
使用 Spring Security SAML 示例,我们将其设置为:
http://localhost:8080/spring-security-saml2-sample/saml/SSO。
但是,在 IdP 将 AuthenticationResponse 发回该 url 后,用户的浏览器将被重定向到
http://localhost:8080/spring-security-saml2-sample。
我能否指定一个特定的 url,在 SSO 身份验证成功后将用户重定向到该 URL?我没有找到任何关于此的文档,也没有看到它在示例应用中是如何发生的。
【问题讨论】: