You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2017/03/24 09:32:46 UTC

cxf git commit: Minor fix to support UsernameTokenNoPassword

Repository: cxf
Updated Branches:
  refs/heads/master 753730777 -> 4f98bea0d


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/4f98bea0
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/4f98bea0
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/4f98bea0

Branch: refs/heads/master
Commit: 4f98bea0dcd6a132a3ef7e8d58eb94b62b482571
Parents: 7537307
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Fri Mar 24 09:32:32 2017 +0000
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Fri Mar 24 09:32:32 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/4f98bea0/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 c092906..6856e37 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
@@ -220,6 +220,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)) {