我试图运行https://github.com/spring-projects/spring-security-saml(主版本)提供的应用程序,并使用adfs作为idp,并遵循文档中给出的所有步骤。我收到以下错误
org.opensaml.saml2.metadata.impl.AssertionConsumerServiceImpl@7a033ee2 for request URL https://localhost:8443/spring-security-saml2-sample3/saml/SSO based on location attribute in metadata
- Authentication attempt using org.springframework.security.saml.SAMLAuthenticationProvider
- Error validating SAML message
org.opensaml.common.SAMLException: Response has invalid status code urn:oasis:names:tc:SAML:2.0:status:Responder, status message is null
at org.springframework.security.saml.websso.WebSSOProfileConsumerImpl.processAuthenticationResponse(WebSSOProfileConsumerImpl.java:113)
at org.springframework.security.saml.SAMLAuthenticationProvider.authenticate(SAMLAuthenticationProvider.java:87)
at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:156)
Run Code Online (Sandbox Code Playgroud)
我刚刚遇到了这个问题 - 设置中继方信任时指南的最后一步:
http://docs.spring.io/spring-security-saml/docs/current/reference/html/chapter-idp-guide.html
“双击打开提供程序,选择“高级”选项卡并将“安全哈希算法”更改为 SHA-1”
| 归档时间: |
|
| 查看次数: |
4406 次 |
| 最近记录: |