[CXF-6401] - Fixing an issue with the last merge

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

Branch: refs/heads/3.0.x-fixes
Commit: 56a16897631411b25ea33caff6b3f2b4b4a6268a
Parents: dab140f
Author: Colm O hEigeartaigh <cohei...@apache.org>
Authored: Fri May 15 17:04:54 2015 +0100
Committer: Colm O hEigeartaigh <cohei...@apache.org>
Committed: Fri May 15 17:07:31 2015 +0100

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


http://git-wip-us.apache.org/repos/asf/cxf/blob/56a16897/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JInInterceptor.java
----------------------------------------------------------------------
diff --git 
a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JInInterceptor.java
 
b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JInInterceptor.java
index a08251c..c0cd6f0 100644
--- 
a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JInInterceptor.java
+++ 
b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JInInterceptor.java
@@ -582,7 +582,7 @@ public class WSS4JInInterceptor extends 
AbstractWSS4JInterceptor {
                         createSecurityContext(msg, useJAASSubject, result, 
utWithCallbacks);
                     if (context != null) {
                         msg.put(SecurityContext.class, context);
-                        break;
+                        return;
                     }
                 }
             }

Reply via email to