我正在尝试使用WSO2 Identity 5.3.0服务器在Pentaho 8.1中配置SAML 2 SSO。我遵循了这些指南:
当我尝试访问Pentaho时,浏览器将转到Identity Server登录页面:
,成功登录后,我已正确重定向至http://localhost:7070/pentaho/saml/SSO,但得到的只是一个HTTP 404未找到:
/ saml / SSO是samlWebSSOProcessingFilter的filterProcessesUrl,并在blueprint.xml文件中进行了配置。日志中也没有错误或异常。
我不知道还能去哪里,任何想法都会很感激。
谢谢!
答案 0 :(得分:1)
saml / sso实际上在您的服务提供商元数据文件中
您需要上传catalina和pentaho日志来确定404的原因,可能有多种原因
请确保已为singleTenantAdminUsername正确配置了repository.spring.properties
答案 1 :(得分:0)
为Automatically manage signing: ON / OFF (with ON status I choose the correct team)
Capabilities: In-App Purchase: ON
Build Settings: Debug: YES / Release: YES
Debug: YES / Release: NO
And deleting and re-install the certificates (not sure that are the correct one).
On iTunesConnect: Agreement, Tax, Banking is ALL filled and the status of free and paid are: ACTIVATE (green)
和org.pentaho.platform.spring.security.saml
软件包激活调试后,我可以在日志中看到异常:
org.opensaml.saml2.metadata.provider.MetadataProviderException: 实体localhost和角色的元数据 {urn:oasis:names:tc:SAML:2.0:metadata}未找到IDPSSODescriptor
查看服务提供商的元数据文件时,我发现它所引用的角色是此标记的org.springframework.security.saml
属性:
xmlns
我将<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" entityID="wso2carbon">
的值更改为entityID
,然后它起作用了。
编辑:错误在于身份提供者元数据文件中。