在 Pentaho 中配置 SAML 2 SSO 时,我收到 /pentaho/saml/SSO 未找到 HTTP 404
I'm getting /pentaho/saml/SSO HTTP 404 Not Found when configuring SAML 2 SSO in Pentaho
我正在尝试使用 WSO2 Identity 5.3.0 服务器在 Pentaho 8.1 中配置 SAML 2 SSO。我遵循了这些指南:
- https://help.pentaho.com/Documentation/8.1/Setup/Administration/User_Security/Implement_Advanced_Security/Set_Up_SAML_for_the_Pentaho_Server
- http://docplayer.net/19831592-Saml-installation-and-integration-best-practices-updated-1-4-2016-authors-jonathan-jarvis-pedro-teixeira-and-joao-l-m.html
当我尝试访问 Pentaho 时,浏览器转到 Identity Server 登录页面:
成功登录后我被正确重定向到 http://localhost:7070/pentaho/saml/SSO,但我得到的只是 HTTP 404 未找到:
/saml/SSO 是 samlWebSSOProcessingFilter 的 filterProcessesUrl,它在 blueprint.xml 文件中配置。日志中也没有错误或异常。
我不知道还有什么地方可以看,任何想法将不胜感激。
谢谢!
saml/sso 实际上在您的服务提供商元数据文件中
您需要上传 catalina 和 pentaho 日志以确定 404 的原因,发生这种情况的原因有多种
请确保您的 repository.spring.properties 已正确配置为 singleTenantAdminUsername
激活 org.pentaho.platform.spring.security.saml
和 org.springframework.security.saml
包的调试后,我可以在日志中看到异常:
org.opensaml.saml2.metadata.provider.MetadataProviderException:
Metadata for entity localhost and role
{urn:oasis:names:tc:SAML:2.0:metadata}IDPSSODescriptor wasn't found
在查看服务提供商的元数据文件时,我发现它所指的角色是 this 标签的 xmlns
属性:
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" entityID="wso2carbon">
我将 entityID
的值更改为 localhost
然后它起作用了。
编辑:错误出在身份提供者元数据文件中。
我正在尝试使用 WSO2 Identity 5.3.0 服务器在 Pentaho 8.1 中配置 SAML 2 SSO。我遵循了这些指南:
- https://help.pentaho.com/Documentation/8.1/Setup/Administration/User_Security/Implement_Advanced_Security/Set_Up_SAML_for_the_Pentaho_Server
- http://docplayer.net/19831592-Saml-installation-and-integration-best-practices-updated-1-4-2016-authors-jonathan-jarvis-pedro-teixeira-and-joao-l-m.html
当我尝试访问 Pentaho 时,浏览器转到 Identity Server 登录页面:
成功登录后我被正确重定向到 http://localhost:7070/pentaho/saml/SSO,但我得到的只是 HTTP 404 未找到:
/saml/SSO 是 samlWebSSOProcessingFilter 的 filterProcessesUrl,它在 blueprint.xml 文件中配置。日志中也没有错误或异常。
我不知道还有什么地方可以看,任何想法将不胜感激。
谢谢!
saml/sso 实际上在您的服务提供商元数据文件中
您需要上传 catalina 和 pentaho 日志以确定 404 的原因,发生这种情况的原因有多种
请确保您的 repository.spring.properties 已正确配置为 singleTenantAdminUsername
激活 org.pentaho.platform.spring.security.saml
和 org.springframework.security.saml
包的调试后,我可以在日志中看到异常:
org.opensaml.saml2.metadata.provider.MetadataProviderException: Metadata for entity localhost and role {urn:oasis:names:tc:SAML:2.0:metadata}IDPSSODescriptor wasn't found
在查看服务提供商的元数据文件时,我发现它所指的角色是 this 标签的 xmlns
属性:
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" entityID="wso2carbon">
我将 entityID
的值更改为 localhost
然后它起作用了。
编辑:错误出在身份提供者元数据文件中。