Question Regarding Property replacement filter
Juan Quintanilla
jquin014 at fiu.edu
Tue Feb 28 16:53:44 GMT 2012
Hi,
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:
In tomcat I receive the following error:
11:45:38.060 - ERROR [org.springframework.web.context.ContextLoader:215] - Context initialization failed
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.
My configuration for the attribute-resolver in service.xml is the following:
<srv:Service id="shibboleth.AttributeResolver"
configurationResourcePollingFrequency="PT2H0M0.000S" configurationResourcePollingRetryAttempts="10"
xsi:type="attribute-resolver:ShibbolethAttributeResolver">
<srv:ConfigurationResource file="/opt/shibboleth-idp/conf/attribute-resolver.xml" xsi:type="resource:FilesystemResource">
<srv:ResourceFilter xsi:type="PropertyReplacement"
xmlns="urn:mace:shibboleth:2.0:resource"
propertyFile="/opt/shibboleth-idp/conf/config.properties">
</srv:ResourceFilter>
</srv:ConfigurationResource>
</srv:Service>
I have already created the config.properties file and made the changes in the attribute-resolver according to the following page: https://wiki.shibboleth.net/confluence/display/SHIB2/IdPProdConfigFiles
Any help in finding an answer to why I'm receiving this error is much appreciated.
Thanks!
___________________
Juan Quintanilla
305-348-6573
jquin014 at fiu.edu<mailto:jquin014 at fiu.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20120228/96525b0e/attachment.html
More information about the users
mailing list