cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [3/4] cxf git commit: Fix digest test with Jetty 9.3
Date Wed, 11 Nov 2015 15:47:44 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/e554e21d
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/e554e21d
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/e554e21d

Branch: refs/heads/master
Commit: e554e21d71a35c65d7e5ca5c4e1fd91e7e51cb81
Parents: df4963e
Author: Daniel Kulp <dkulp@apache.org>
Authored: Wed Nov 11 10:11:59 2015 -0500
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Wed Nov 11 10:11:59 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/e554e21d/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