迁移Shibboleth 2-> 3:WARN Shibboleth.Config:已弃用;警告Shibboleth.RequestMapper:已弃用

埃斯科·皮拉伊宁(Esko Piirainen)

/var/log/messages 连续重复以下内容:

WARN Shibboleth.Config : DEPRECATED: legacy 2.0 configuration, support will be removed from a future version of the software

WARN Shibboleth.RequestMapper : DEPRECATED: legacy 2.0 configuration, support will be removed from a future version of the software

这是我应该看的东西shibboleth2.xml吗?也许这是从哪里来的httpd

我对Shibboleth几乎一无所知。

凯伦·墨菲

这是因为在Shibboleth SP 3.x安装中使用了Shibboleth SP 2.x安装中的旧版shibboleth2.xml配置文件。

将shibboleth2.xml的第一行从以下位置更改:

<SPConfig xmlns="urn:mace:shibboleth:2.0:native:sp:config"
          xmlns:conf="urn:mace:shibboleth:2.0:native:sp:config"
          xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
          xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
          xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
          clockSkew="180">

<SPConfig xmlns="urn:mace:shibboleth:3.0:native:sp:config"
          xmlns:conf="urn:mace:shibboleth:3.0:native:sp:config"
          xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
          xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
          xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
          clockSkew="180">

urn:mace:shibboleth:2.0:native:sp:config应该成为urn:mace:shibboleth:3.0:native:sp:config

我建议您仔细阅读Shibboleth Service Provider 3的文档例如,您的特定配置也与RequestMapper产生了问题...因此您的配置中可能需要解决一些问题。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章