[java-identity-provider COMMIT] /trunk/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyin...
noreply at shibboleth.net
noreply at shibboleth.net
Fri Dec 19 07:34:25 EST 2014
Author: rdw
Date: Fri Dec 19 07:34:24 2014
New Revision: 7170
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7170&view=rev
Log:
IDP-544 Add use of FileBackedHTTPResource
Modified:
trunk/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/HTTPResources.xml
Modified: trunk/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/HTTPResources.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/HTTPResources.xml?rev=7170&r1=7169&r2=7170&view=diff
==============================================================================
--- trunk/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/HTTPResources.xml (original)
+++ trunk/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/HTTPResources.xml Fri Dec 19 07:34:24 2014
@@ -27,8 +27,13 @@
p:maxCacheEntries="3000"
p:cacheDirectory-ref="theDir"/>
- <bean id="fileResource" class="net.shibboleth.ext.spring.resource.HTTPResource"
- c:client-ref="fileClient" c:url="http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/document.xml?view=co" />
+ <bean id="theParent" class="org.springframework.core.io.FileSystemResource" c:file-ref="theDir"/>
+
+ <bean id="thefile" factory-bean="theParent" factory-method="createRelative" c:relativePath="wibble"/>
+
+ <bean id="fileResource" class="net.shibboleth.ext.spring.resource.FileBackedHTTPResource"
+ c:client-ref="fileClient" c:url="http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/document.xml?view=co"
+ c:resource-ref="thefile"/>
</beans>
More information about the commits
mailing list