2013-03-04 89 views
0

我对shibboleth非常(非常)新,目前我通过编辑shobboleth2.xml进行配置,并使用shibboleth 2.4,但是当我重新启动shibboleth时出现以下错误。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"> 

回答

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">