0

我对 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">
4

1 回答 1

1

从 <ApplicationDefaults /> 元素中删除属性“homeUrl”。

<ApplicationDefaults id="default"
     policyId="default"
     entityID="https://somesite.com/shibboleth/default"
                 REMOTE_USER="eppn persistent-id targeted-id"
     signing="false" encryption="false">
于 2013-10-02T09:34:20.527 回答