cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject cxf git commit: [CXF-6432] - Remove default empty password in SamlTokenInterceptor
Date Tue, 02 Jun 2015 14:28:53 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes 126032c4e -> efd2c872b


[CXF-6432] - Remove default empty password in SamlTokenInterceptor


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

Branch: refs/heads/2.7.x-fixes
Commit: efd2c872bad7034596c5962a22ee7988512063dd
Parents: 126032c
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Tue Jun 2 15:23:49 2015 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Tue Jun 2 15:23:49 2015 +0100

----------------------------------------------------------------------
 .../org/apache/cxf/ws/security/wss4j/SamlTokenInterceptor.java    | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/efd2c872/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/SamlTokenInterceptor.java
----------------------------------------------------------------------
diff --git a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/SamlTokenInterceptor.java
b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/SamlTokenInterceptor.java
index ba4bf64..02f1132 100644
--- a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/SamlTokenInterceptor.java
+++ b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/SamlTokenInterceptor.java
@@ -298,9 +298,6 @@ public class SamlTokenInterceptor extends AbstractTokenInterceptor {
             if (StringUtils.isEmpty(password)) {
                 password = getPassword(user, token, WSPasswordCallback.SIGNATURE, message);
             }
-            if (password == null) {
-                password = "";
-            }
 
             // TODO configure using a KeyValue here
             assertion.signAssertion(user, password, crypto, false);


Mime
View raw message