cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject cxf git commit: Minor fix to support UsernameTokenNoPassword
Date Fri, 24 Mar 2017 09:35:38 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 12c921680 -> a5cd9d3ec


Minor fix to support UsernameTokenNoPassword


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

Branch: refs/heads/3.1.x-fixes
Commit: a5cd9d3ece2a35347aa62e6ed3ac13f2bf39bb74
Parents: 12c9216
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Fri Mar 24 09:32:32 2017 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Fri Mar 24 09:33:50 2017 +0000

----------------------------------------------------------------------
 .../java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptor.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/a5cd9d3e/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptor.java
----------------------------------------------------------------------
diff --git a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptor.java
b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptor.java
index c25822e..3ec5fd3 100644
--- a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptor.java
+++ b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JOutInterceptor.java
@@ -218,6 +218,7 @@ public class WSS4JOutInterceptor extends AbstractWSS4JInterceptor {
                 for (HandlerAction handlerAction : actions) {
                     if ((handlerAction.getAction() == WSConstants.SIGN
                         || handlerAction.getAction() == WSConstants.UT
+                        || handlerAction.getAction() == WSConstants.UT_NOPASSWORD
                         || handlerAction.getAction() == WSConstants.UT_SIGN)
                         && (handlerAction.getActionToken() == null
                             || handlerAction.getActionToken().getUser() == null)) {


Mime
View raw message