首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >迁移Shibboleth 2 -> 3:警告Shibboleth.Config :已弃用;警告Shibboleth.RequestMapper :已弃用

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

Stack Overflow用户
提问于 2019-09-12 20:42:44
回答 2查看 644关注 0票数 3

/var/log/messages会连续重复以下操作:

代码语言:javascript
复制
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几乎一无所知。

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2019-09-12 21:31:54

这来自于在Shibboleth SP 3.x安装中使用来自Shibboleth SP 2.x安装的较旧的shibboleth2.xml配置文件。

将shibboleth2.xml的第一行从:

代码语言:javascript
复制
<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">

代码语言:javascript
复制
<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有问题...因此,您的配置中可能存在需要解决的问题。

票数 3
EN

Stack Overflow用户

发布于 2019-09-13 20:41:50

补充一下Kellen的答案:

正如这里所指出的:https://wiki.shibboleth.net/confluence/display/SP3/UpgradingFromV2

更改MetadataProvideruri -> urlfile -> path

此外,还将xmlnsxmlns:conf2.0改为3.0

如果只更改模式版本,您将得到一个erro:shib_handler: Unable to locate metadata for identity provider

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/57907002

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档