cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [1/2] cxf git commit: Fixing Kerberos tests in eclipse
Date Tue, 05 May 2015 10:32:05 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 58f40673e -> 51d3e219d


Fixing Kerberos tests in eclipse


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

Branch: refs/heads/3.0.x-fixes
Commit: 5eba78e79c1a3651e218e03148072a84c8bbb77b
Parents: 58f4067
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Tue May 5 11:27:37 2015 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Tue May 5 11:28:20 2015 +0100

----------------------------------------------------------------------
 .../systest/kerberos/jaxrs/kerberos/JAXRSKerberosBookTest.java   | 4 +---
 .../cxf/systest/kerberos/wssec/kerberos/KerberosTokenTest.java   | 4 +---
 .../cxf/systest/kerberos/wssec/spnego/SpnegoTokenTest.java       | 4 +---
 3 files changed, 3 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/5eba78e7/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/jaxrs/kerberos/JAXRSKerberosBookTest.java
----------------------------------------------------------------------
diff --git a/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/jaxrs/kerberos/JAXRSKerberosBookTest.java
b/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/jaxrs/kerberos/JAXRSKerberosBookTest.java
index 6ffb9fb..32c59da 100644
--- a/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/jaxrs/kerberos/JAXRSKerberosBookTest.java
+++ b/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/jaxrs/kerberos/JAXRSKerberosBookTest.java
@@ -141,13 +141,11 @@ public class JAXRSKerberosBookTest extends AbstractLdapTestUnit {
             String basedir = System.getProperty("basedir");
             if (basedir == null) {
                 basedir = new File(".").getCanonicalPath();
-            } else {
-                basedir += "/..";
             }
 
             // System.setProperty("sun.security.krb5.debug", "true");
             System.setProperty("java.security.auth.login.config", 
-                               basedir + "/kerberos/src/test/resources/kerberos.jaas");
+                               basedir + "/src/test/resources/kerberos.jaas");
             
         }
         

http://git-wip-us.apache.org/repos/asf/cxf/blob/5eba78e7/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/wssec/kerberos/KerberosTokenTest.java
----------------------------------------------------------------------
diff --git a/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/wssec/kerberos/KerberosTokenTest.java
b/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/wssec/kerberos/KerberosTokenTest.java
index 1373f43..f9c00ef 100644
--- a/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/wssec/kerberos/KerberosTokenTest.java
+++ b/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/wssec/kerberos/KerberosTokenTest.java
@@ -156,13 +156,11 @@ public class KerberosTokenTest extends AbstractLdapTestUnit {
             String basedir = System.getProperty("basedir");
             if (basedir == null) {
                 basedir = new File(".").getCanonicalPath();
-            } else {
-                basedir += "/..";
             }
 
             // System.setProperty("sun.security.krb5.debug", "true");
             System.setProperty("java.security.auth.login.config", 
-                               basedir + "/kerberos/src/test/resources/kerberos.jaas");
+                               basedir + "/src/test/resources/kerberos.jaas");
             
         }
         

http://git-wip-us.apache.org/repos/asf/cxf/blob/5eba78e7/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/wssec/spnego/SpnegoTokenTest.java
----------------------------------------------------------------------
diff --git a/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/wssec/spnego/SpnegoTokenTest.java
b/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/wssec/spnego/SpnegoTokenTest.java
index 90280b2..29380a7 100644
--- a/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/wssec/spnego/SpnegoTokenTest.java
+++ b/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/wssec/spnego/SpnegoTokenTest.java
@@ -148,13 +148,11 @@ public class SpnegoTokenTest extends AbstractLdapTestUnit {
             String basedir = System.getProperty("basedir");
             if (basedir == null) {
                 basedir = new File(".").getCanonicalPath();
-            } else {
-                basedir += "/..";
             }
 
             // System.setProperty("sun.security.krb5.debug", "true");
             System.setProperty("java.security.auth.login.config", 
-                               basedir + "/kerberos/src/test/resources/kerberos.jaas");
+                               basedir + "/src/test/resources/kerberos.jaas");
             
         }
         


Mime
View raw message