Configuring a file-backed HTTP resource for attribute filters
Rod Widdowson
rdw at steadingsoftware.com
Mon Jul 20 05:40:22 EDT 2015
> The bean definition from the file-backed http resource page on the wiki
> makes sense, but I'm not sure where to put it and how to make it work
> alongside the existing local file resource.
It's entirely up to you how you structure this.
For a one off configuration I'd just bung it inline:
<util:list id ="shibboleth.AttributeFilterResources">
<value>%{idp.home}/conf/attribute-filter.xml</value>
<bean
class="net.shibboleth.ext.spring.resource.FileBackedHTTPResource"
c:client-ref="shibboleth.FileCachingHttpClient"
c:url="http://another.server.example.org/path/to/different/file.xml"
c:resource="/var/shibboleth/caches/resourcecache/differentFile.xml"/>
</util:list>
But you can have the bean declared in a separate file (global.xml or another
file) and have a <ref bean="whatever"/> inside the <util:list>. The
service.properties beans are probably of more interest to people setting up
automated installations (like federations).
/R
More information about the users
mailing list