2016-02-12 52 views
3

我试图运行提供的应用程序https://github.com/spring-projects/spring-security-saml(master版本)并使用adfs as idp,并遵循文档中给出的所有步骤。org.opensaml.common.SAMLException:响应具有无效状态代码urn:oasis:names:tc:SAML:2.0:status:响应者,状态消息为空

http://docs.spring.io/spring-security-saml/docs/current/reference/html/chapter-idp-guide.html

“打开双击提供商:建立中继方信任时莅临指导的最后一步 - 我提示以下错误:

[email protected]033ee2 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) 
+0

下面是控制台日志 - 构建阿帕奇的XMLSignature对象 - setElement(‘DS:签名’,‘’) - setElement(“ds:SignedInfo”,“”) - setElement(“ds:SignatureMethod”,“”) - 创建URI“http://www.w3.org/2001/04/xmldsig-more#rsa- sha256“class”class org.apache.xml.security.algorithms.implementations.SignatureBaseRSA $ SignatureRSASHA256“ - Request for URI http://www.w3.org/2001/04/xmldsig-more#rsa-sha256 - Created SignatureRSA使用SHA256withRSA - setElement(“KeyInfo”,“”) - 将标准化和签名算法以及HMAC输出长度添加到签名 - – kvkc

回答

0

我只是有这个问题它,选择高级选项卡并更改“安全散列算法”来SHA-1"

相关问题