/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几乎一无所知。
发布于 2019-09-12 21:31:54
这来自于在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有问题...因此,您的配置中可能存在需要解决的问题。
发布于 2019-09-13 20:41:50
补充一下Kellen的答案:
正如这里所指出的:https://wiki.shibboleth.net/confluence/display/SP3/UpgradingFromV2
更改MetadataProvider的uri -> url或file -> path
此外,还将xmlns和xmlns:conf从2.0改为3.0。
如果只更改模式版本,您将得到一个erro:shib_handler: Unable to locate metadata for identity provider。
https://stackoverflow.com/questions/57907002
复制相似问题