Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 9a989f58c -> e11f66a3a


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

Branch: refs/heads/3.0.x-fixes
Commit: e11f66a3ad434f464adf4f0d78ae140a0b1694f9
Parents: 9a989f5
Author: Colm O hEigeartaigh <cohei...@apache.org>
Authored: Fri Mar 24 09:32:32 2017 +0000
Committer: Colm O hEigeartaigh <cohei...@apache.org>
Committed: Fri Mar 24 09:35:53 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/e11f66a3/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 a6bacf0..be70e18 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
@@ -222,6 +222,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)) {

Reply via email to