2013-03-04 4 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

Удалить атрибут "homeUrl" из ваших < ApplicationDefaults/> элемента.

<ApplicationDefaults id="default" 
    policyId="default" 
    entityID="https://somesite.com/shibboleth/default" 
       REMOTE_USER="eppn persistent-id targeted-id" 
    signing="false" encryption="false"> 
Смежные вопросы