我必须在项目中添加SAML实现。我决定使用Spring SAML。作为服务提供商,我生成了一个元数据文件,并将此文件发送给IDP。
国内流离失所者做了一些测试。当用户尝试连接时,我有以下异常:响应具有无效的状态代码urn:oasis:names:tc:SAML:2.0:status:Responder,状态消息为null
Caused by: 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) ~[spring-security-saml2-core-1.0.2.RELEASE.jar:1.0.2.RELEASE]
at org.springframework.security.saml.SAMLAuthenticationProvider.authenticate(SAMLAuthenticationProvider.java:87) ~[spring-security-saml2-core-1.0.2.RELEASE.jar:1.0.2.RELEASE]
... 103 common frames omitted
感谢All