<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Book Antiqua;color: #000000;font-size: 12pt;">
Hi,<br>
<br>
I am trying to setup the property replacement filter for the attribute-resolver and I'm running into an error when tomcat runs. I would appreciate a second pair of eyes that can probably spot something that I'm not seeing:<br>
<br>
In tomcat I receive the following error:<br>
<br>
11:45:38.060 - ERROR [org.springframework.web.context.ContextLoader:215] - Context initialization failed<br>
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 22 in XML document from URL [file:/opt/shibboleth-idp//conf/service.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found
starting with element 'srv:ResourceFilter'. One of '{"urn:mace:shibboleth:2.0:resource":ResourceFilter}' is expected.<br>
<br>
My configuration for the attribute-resolver in service.xml is the following:<br>
<br>
<srv:Service id="shibboleth.AttributeResolver"<br>
configurationResourcePollingFrequency="PT2H0M0.000S" configurationResourcePollingRetryAttempts="10"<br>
xsi:type="attribute-resolver:ShibbolethAttributeResolver"><br>
<srv:ConfigurationResource file="/opt/shibboleth-idp/conf/attribute-resolver.xml" xsi:type="resource:FilesystemResource"><br>
<srv:ResourceFilter xsi:type="PropertyReplacement"<br>
xmlns="urn:mace:shibboleth:2.0:resource"<br>
propertyFile="/opt/shibboleth-idp/conf/config.properties"><br>
</srv:ResourceFilter><br>
</srv:ConfigurationResource><br>
</srv:Service><br>
<br>
<br>
I have already created the config.properties file and made the changes in the attribute-resolver according to the following page:
<a href="https://wiki.shibboleth.net/confluence/display/SHIB2/IdPProdConfigFiles" target="_blank">
https://wiki.shibboleth.net/confluence/display/SHIB2/IdPProdConfigFiles</a><br>
<br>
Any help in finding an answer to why I'm receiving this error is much appreciated.<br>
<br>
Thanks!<br>
<div><br>
<div><font face="Book Antiqua">___________________<br>
</font><font face="book antiqua">Juan Quintanilla</font></div>
<div><font face="book antiqua">305-348-6573</font></div>
<div><font face="book antiqua"><a href="mailto:jquin014@fiu.edu">jquin014@fiu.edu</a></font></div>
</div>
</div>
</body>
</html>