[java-idp-integration-tests] branch master updated: Adjust path to Spring filesystem Resources for Windows

Tom Zeller tzeller at dragonacea.biz
Tue Aug 9 22:03:29 EDT 2016


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

tzeller pushed a commit to branch master
in repository java-idp-integration-tests.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-integration-tests.git;a=commit;h=7b247f7908da19c38e2c9707aeaebe2d31ef0838

The following commit(s) were added to refs/heads/master by this push:
       new  7b247f7   Adjust path to Spring filesystem Resources for Windows
7b247f7 is described below

commit 7b247f7908da19c38e2c9707aeaebe2d31ef0838
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Tue Aug 9 20:59:48 2016 -0500

    Adjust path to Spring filesystem Resources for Windows
    
    Use "file:///" instead of "file://".
---
 .../idp/test/saml2/SAML2AttributeQueryIntegrationTest.java | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/test/java/net/shibboleth/idp/test/saml2/SAML2AttributeQueryIntegrationTest.java b/src/test/java/net/shibboleth/idp/test/saml2/SAML2AttributeQueryIntegrationTest.java
index 507be01..6f484d5 100644
--- a/src/test/java/net/shibboleth/idp/test/saml2/SAML2AttributeQueryIntegrationTest.java
+++ b/src/test/java/net/shibboleth/idp/test/saml2/SAML2AttributeQueryIntegrationTest.java
@@ -132,19 +132,23 @@ public class SAML2AttributeQueryIntegrationTest extends AbstractSAML2Integration
     protected void setUpPaths() {
         final Path pathToTrustedSpCert = pathToIdPHome.resolve(Paths.get("credentials", "sp.crt"));
         Assert.assertTrue(pathToTrustedSpCert.toFile().exists(), "Path to sp.crt not found");
-        trustedSpCert = "file://" + pathToTrustedSpCert.toAbsolutePath().toString();
+        trustedSpCert = "file:///" + pathToTrustedSpCert.toAbsolutePath().toString();
+        log.debug("Path to trusted SP cert '{}'", trustedSpCert);
 
         final Path pathToTrustedSpKey = pathToIdPHome.resolve(Paths.get("credentials", "sp.key"));
         Assert.assertTrue(pathToTrustedSpKey.toFile().exists(), "Path to sp.key not found");
-        trustedSpKey = "file://" + pathToTrustedSpKey.toAbsolutePath().toString();
-        
+        trustedSpKey = "file:///" + pathToTrustedSpKey.toAbsolutePath().toString();
+        log.debug("Path to trusted SP key '{}'", trustedSpKey);
+
         final Path pathToUntrustedSpCert = pathToIdPHome.resolve(Paths.get("credentials", "sp-untrusted.crt"));
         Assert.assertTrue(pathToUntrustedSpCert.toFile().exists(), "Path to sp-untrusted.crt not found");
-        untrustedSpCert = "file://" + pathToUntrustedSpCert.toAbsolutePath().toString();
+        untrustedSpCert = "file:///" + pathToUntrustedSpCert.toAbsolutePath().toString();
+        log.debug("Path to untrusted SP cert '{}'", untrustedSpCert);
 
         final Path pathToUntrustedSpKey = pathToIdPHome.resolve(Paths.get("credentials", "sp-untrusted.key"));
         Assert.assertTrue(pathToUntrustedSpKey.toFile().exists(), "Path to sp-untrusted.key not found");
-        untrustedSpKey = "file://" + pathToUntrustedSpKey.toAbsolutePath().toString();
+        untrustedSpKey = "file:///" + pathToUntrustedSpKey.toAbsolutePath().toString();
+        log.debug("Path to untrusted SP key '{}'", untrustedSpKey);
     }
 
     /**

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


More information about the commits mailing list