cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [4/9] cxf git commit: Fix digest test with Jetty 9.3
Date Thu, 12 Nov 2015 15:23:30 GMT
Fix digest test with Jetty 9.3


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/3240a6a2
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/3240a6a2
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/3240a6a2

Branch: refs/heads/3.1.x-fixes
Commit: 3240a6a27e48f41e15ab75ed2c1735a1f5056668
Parents: 2e221ea
Author: Daniel Kulp <dkulp@apache.org>
Authored: Wed Nov 11 10:11:59 2015 -0500
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Thu Nov 12 10:22:50 2015 -0500

----------------------------------------------------------------------
 .../java/org/apache/cxf/systest/http/auth/DigestServer.java     | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/3240a6a2/systests/transports/src/test/java/org/apache/cxf/systest/http/auth/DigestServer.java
----------------------------------------------------------------------
diff --git a/systests/transports/src/test/java/org/apache/cxf/systest/http/auth/DigestServer.java
b/systests/transports/src/test/java/org/apache/cxf/systest/http/auth/DigestServer.java
index 1571dab..dbc46ed 100644
--- a/systests/transports/src/test/java/org/apache/cxf/systest/http/auth/DigestServer.java
+++ b/systests/transports/src/test/java/org/apache/cxf/systest/http/auth/DigestServer.java
@@ -18,6 +18,7 @@
  */
 package org.apache.cxf.systest.http.auth;
 
+import java.io.File;
 import java.net.URISyntaxException;
 import java.net.URL;
 
@@ -40,8 +41,10 @@ public class DigestServer extends AbstractBusTestServerBase {
     protected void configureServer() throws Exception {
         URL resource = getClass()
             .getResource("jetty-realm.properties");
+        File file = new File(resource.toURI());
+        
         LoginService realm = 
-            new HashLoginService("BookStoreRealm", resource.toString());
+            new HashLoginService("BookStoreRealm", file.getAbsolutePath());
         server.addBean(realm);
     }
     


Mime
View raw message