<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.&nbsp; 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 '{&quot;urn:mace:shibboleth:2.0:resource&quot;:ResourceFilter}' is expected.<br>
<br>
My configuration for the attribute-resolver in service.xml is the following:<br>
<br>
&lt;srv:Service id=&quot;shibboleth.AttributeResolver&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; configurationResourcePollingFrequency=&quot;PT2H0M0.000S&quot; configurationResourcePollingRetryAttempts=&quot;10&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xsi:type=&quot;attribute-resolver:ShibbolethAttributeResolver&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;srv:ConfigurationResource file=&quot;/opt/shibboleth-idp/conf/attribute-resolver.xml&quot; xsi:type=&quot;resource:FilesystemResource&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;srv:ResourceFilter xsi:type=&quot;PropertyReplacement&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlns=&quot;urn:mace:shibboleth:2.0:resource&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; propertyFile=&quot;/opt/shibboleth-idp/conf/config.properties&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/srv:ResourceFilter&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/srv:ConfigurationResource&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/srv:Service&gt;<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>