cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [2/2] cxf git commit: [CXF-6109] - Fixing system test
Date Mon, 24 Nov 2014 11:16:13 GMT
[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/24aa7e58
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/24aa7e58
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/24aa7e58

Branch: refs/heads/3.0.x-fixes
Commit: 24aa7e5814f6e6a4c51522ae27a33ac1ed8cc809
Parents: a91e1fd
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:56:57 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/24aa7e58/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