cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [2/2] git commit: Fixing build
Date Tue, 23 Sep 2014 16:55:46 GMT
Fixing build


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

Branch: refs/heads/2.7.x-fixes
Commit: 9d28233f4080877ae68ded3293a4a5082a2f684c
Parents: c910fa3
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Tue Sep 23 17:55:37 2014 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Tue Sep 23 17:55:37 2014 +0100

----------------------------------------------------------------------
 .../security/wss4j/policyhandlers/TransportBindingHandler.java  | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/9d28233f/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/TransportBindingHandler.java
----------------------------------------------------------------------
diff --git a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/TransportBindingHandler.java
b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/TransportBindingHandler.java
index b274632..a5bacb2 100644
--- a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/TransportBindingHandler.java
+++ b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/TransportBindingHandler.java
@@ -523,10 +523,7 @@ public class TransportBindingHandler extends AbstractBindingBuilder {
             }
             if (crypto == null) {
                 LOG.fine("No signature Crypto properties are available");
-                Exception ex = new Exception("No signature Crypto properties are available");
-                throw new WSSecurityException(
-                    WSSecurityException.ErrorCode.FAILURE, ex
-                );
+                throw new WSSecurityException("No signature Crypto properties are available");
             }
             
             String uname = crypto.getX509Identifier(secTok.getX509Certificate());


Mime
View raw message