我非常(非常)新的shibboleth,目前我正在通过编辑shobboleth2.xml进行配置,我使用shibboleth 2.4但是当我重新启动shibboleth时出现以下错误。
shibd error: unable to run config check as user
Restarting Shibboleth 2 daemon: 2013-03-04 13:15:27 ERROR XMLTooling.ParserPool : error on line 28, column 40, message: attribute 'homeUrl' is not declared for element 'ApplicationDefaults'
2013-03-04 13:15:27 ERROR Shibboleth.Config : error while loading resource (/etc/shibboleth/shibboleth2.xml): XML error(s) during parsing, check log for specifics
2013-03-04 13:15:27 FATAL Shibboleth.Config : caught exception while loading configuration: XML error(s) during parsing, check log for specifics
configuration is invalid, check console for specific problems
在我的shibboleth2.xml中,我已经添加了homeUrl。
<!-- The ApplicationDefaults element is where most of Shibboleth's SAML bits are defined. -->
<ApplicationDefaults id="default"
policyId="default"
entityID="https://somesite.com/shibboleth/default"
homeUrl="https://somesite.com/"
REMOTE_USER="eppn persistent-id targeted-id"
signing="false" encryption="false">
答案 0 :(得分:1)
从&lt; ApplicationDefaults /&gt;中删除属性“homeUrl”元件。
<ApplicationDefaults id="default"
policyId="default"
entityID="https://somesite.com/shibboleth/default"
REMOTE_USER="eppn persistent-id targeted-id"
signing="false" encryption="false">