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 <[email protected]> Authored: Tue Jun 2 15:23:49 2015 +0100 Committer: Colm O hEigeartaigh <[email protected]> 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);
