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: [CXF-6109] - Fixing system test
Date Mon, 24 Nov 2014 10:55:27 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 388d6eaf0 -> c1ca78e6f


[CXF-6109] - Fixing system test


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

Branch: refs/heads/master
Commit: c1ca78e6fef139ae2258c0637fd872612b7b4e6c
Parents: e907a55
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Mon Nov 24 10:48:08 2014 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Mon Nov 24 10:48:39 2014 +0000

----------------------------------------------------------------------
 .../org/apache/cxf/systest/sts/batch/SimpleBatchSTSClient.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/c1ca78e6/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/batch/SimpleBatchSTSClient.java
----------------------------------------------------------------------
diff --git a/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/batch/SimpleBatchSTSClient.java
b/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/batch/SimpleBatchSTSClient.java
index 4036035..b21fb8e 100644
--- a/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/batch/SimpleBatchSTSClient.java
+++ b/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/batch/SimpleBatchSTSClient.java
@@ -930,7 +930,7 @@ public class SimpleBatchSTSClient implements Configurable, InterceptorProvider
{
                     try {
                         secret = psha1.createKey(requestorEntropy, serviceEntr, 0, length
/ 8);
                     } catch (WSSecurityException e) {
-                        throw new TrustException("DERIVED_KEY_ERROR", LOG, e);
+                        throw new TrustException("DERIVED_KEY_ERROR", e, LOG);
                     }
                 } else {
                     // Service entropy missing
@@ -981,7 +981,7 @@ public class SimpleBatchSTSClient implements Configurable, InterceptorProvider
{
                         WSSecurityEngineResult.TAG_SECRET
                     );
             } catch (IOException e) {
-                throw new TrustException("ENCRYPTED_KEY_ERROR", LOG, e);
+                throw new TrustException("ENCRYPTED_KEY_ERROR", e, LOG);
             }
         }
     }


Mime
View raw message