0

我正在使用 spring-saml2-sample 应用程序连接到 Shibboleth IDP。我终于设法使用 http post 向 IDP 发送正确的 saml 请求,但登录后我在 SP 端返回以下内容:

org.springframework.security.web.context.HttpSessionSecurityContextRepository - HttpSession 返回空对象 SPRING_SECURITY_CONTEXT

有一篇类似的帖子通过迁移到 Spring Security 版本 3.1.2 解决了问题,但这是 saml2-sample 应用程序附带的版本。我错过了什么吗?我在 saml2-sample 应用程序中没有太大变化,web.xml 是一样的,库是一样的。

任何帮助将不胜感激。

4

0 回答 0