【问题标题】:SAML2 metadata without SLS没有 SLS 的 SAML2 元数据
【发布时间】:2017-11-29 16:45:52
【问题描述】:

如何在 SP 元数据内部正确指出此 SP 不支持 SLS?

我从元数据中删除了 <md:SingleLogoutService ...> 元素。但是现在在注销页面 Shibboleth 仍然尝试使用 SLS,并且在日志中我看到以下内容:

WARN [net.shibboleth.idp.saml.profile.impl.PopulateBindingAndEndpointContexts:410] - Profile Action PopulateBindingAndEndpointContexts: Unable to resolve outbound message endpoint for relying party 'entity-id-comes-here': EndpointCriterion [type={urn:oasis:names:tc:SAML:2.0:metadata}SingleLogoutService, trusted=false]

【问题讨论】:

    标签: saml saml-2.0 shibboleth


    【解决方案1】:

    您确定它与 SingleLogoutService 删除有关吗? 你应该打开 DEBUG logging,看看有没有什么问题。

    我遇到了同样的错误,这是由于元数据和 SP 回调不匹配(错误的 URL...)

    【讨论】:

    • 前面的日志行指出:2017-11-29 18:58:04,766 - DEBUG [org.opensaml.saml.common.binding.AbstractEndpointResolver:130] - Endpoint Resolver org.opensaml.saml.common.binding.impl.DefaultEndpointResolver: No candidate endpoints met criteria
    • 而且,是的,我很确定警告中提到的 SingleLogoutService 没有在 SP 元中指定 :(
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-06-24
    • 1970-01-01
    • 2021-07-05
    • 2016-02-06
    • 2019-02-17
    • 2019-07-23
    相关资源
    最近更新 更多