FileBackedAttributeFilter
Y Levine
ylevine20 at gmail.com
Thu Dec 22 19:51:50 EST 2016
Hi:
I am missing something w.r.t FileBackedHTTPResource ------ not sure where
the flaw in my config lies and been starring at it for a while? Any tips
will be greatly appreciated.
In 'services.xml':
<util:list id="shibboleth.AttributeFilterResources">
<ref bean="FileBackedAttributeFilter"/>
</util:list>
<bean id="FileBackedAttributeFilter"
class="net.shibboleth.ext.spring.resource.FileBackedHTTPResource"
c:url="https://example.com/idp/attribute-filter.xml"
c:backingFile="%{idp.home}/conf/attribute-filter.dwn.xml">
</bean>
Error on startup in 'idp-process.log':
2016-12-22 16:45:15,866 - WARN
[net.shibboleth.ext.spring.context.DelimiterAwareApplicationContext:549] -
Exception encountered during context initialization - cancelling refresh
attempt: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'shibboleth.AttributeFilterResources': Cannot
resolve reference to bean 'FileBackedAttributeFilter' while setting bean
property 'sourceList' with key [0]; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'FileBackedAttributeFilter' defined in file
[/opt/shibboleth-idp/system/conf/../../conf/services.xml]: Unsatisfied
dependency expressed through constructor parameter 1: Ambiguous argument
values for parameter of type [org.apache.http.client.HttpClient] - did you
specify the correct bean references as arguments?
Related cause:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'FileBackedAttributeFilter' defined in file
[/opt/shibboleth-idp/system/conf/../../conf/services.xml]: Unsatisfied
dependency expressed through constructor parameter 0: Ambiguous argument
values for parameter of type [org.apache.http.client.HttpClient] - did you
specify the correct bean references as arguments?
Related cause:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'FileBackedAttributeFilter' defined in file
[/opt/shibboleth-idp/system/conf/../../conf/services.xml]: Unsatisfied
dependency expressed through constructor parameter 1: Ambiguous argument
values for parameter of type [org.apache.http.client.HttpClient] - did you
specify the correct bean references as arguments?
2016-12-22 16:45:15,875 - INFO
[net.shibboleth.utilities.java.support.service.AbstractReloadableService:207]
- Service 'shibboleth.LoggingService': Starting shutdown
2016-12-22 16:45:15,875 - INFO
[net.shibboleth.utilities.java.support.service.AbstractReloadableService:216]
- Service 'shibboleth.LoggingService': Completing shutdown
2016-12-22 16:45:15,896 - ERROR
[org.springframework.web.context.ContextLoader:351] - Context
initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'shibboleth.AttributeFilterResources': Cannot resolve
reference to bean 'FileBackedAttributeFilter' while setting bean property
'sourceList' with key [0]; nested exception is
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'FileBackedAttributeFilter' defined in file
[/opt/shibboleth-idp/system/conf/../../conf/services.xml]: Unsatisfied
dependency expressed through constructor parameter 1: Ambiguous argument
values for parameter of type [org.apache.http.client.HttpClient] - did you
specify the correct bean references as arguments?
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
Caused by:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'FileBackedAttributeFilter' defined in file
[/opt/shibboleth-idp/system/conf/../../conf/services.xml]: Unsatisfied
dependency expressed through constructor parameter 1: Ambiguous argument
values for parameter of type [org.apache.http.client.HttpClient] - did you
specify the correct bean references as arguments?
at
org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:736)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20161222/db94f9c2/attachment.html>
More information about the users
mailing list