[java-identity-provider] 04/06: IDP-1423 Stop using deprecated constructor in HTTPResource Test

Rod Widdowson rdw at steadingsoftware.com
Tue Feb 26 09:45:12 EST 2019


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=89af1fa446026cf3c03e61ef80e2f85e23bb0dea

commit 89af1fa446026cf3c03e61ef80e2f85e23bb0dea
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Feb 26 13:35:04 2019 +0000

    IDP-1423 Stop using deprecated constructor in HTTPResource Test
    
    https://issues.shibboleth.net/jira/browse/IDP-1423
---
 .../idp/profile/spring/relyingparty/metadata/HTTPResources.xml     | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/HTTPResources.xml b/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/HTTPResources.xml
index 6eeba22..239f1f8 100644
--- a/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/HTTPResources.xml
+++ b/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/HTTPResources.xml
@@ -31,13 +31,8 @@
         p:maxCacheEntries="3000"
         p:cacheDirectory-ref="theDir"/>
         
-    <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="%{resourceURL}"
-        c:resource-ref="thefile"/>
-
+        c:backingFile="#{getObject('theDir').getPath()}/fileResource.xml"/>
 
 </beans>
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list