cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject cxf git commit: Fixing failing test
Date Tue, 12 May 2015 17:45:53 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes cadb4e5a1 -> f509a800f


Fixing failing test


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

Branch: refs/heads/3.0.x-fixes
Commit: f509a800f32ef8f1f138ca76676d8cfc5c25529a
Parents: cadb4e5
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Tue May 12 18:45:44 2015 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Tue May 12 18:45:44 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/f509a800/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 c29b412..a08251c 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
@@ -567,7 +567,7 @@ public class WSS4JInInterceptor extends AbstractWSS4JInterceptor {
             
             for (WSSecurityEngineResult result : wsResult) {
                 Integer action = (Integer)result.get(WSSecurityEngineResult.TAG_ACTION);
-                if (action == resultPriority) {
+                if (action.intValue() == resultPriority.intValue()) {
                     final Object binarySecurity = result.get(WSSecurityEngineResult.TAG_BINARY_SECURITY_TOKEN);
                     PublicKey publickey = 
                         (PublicKey)result.get(WSSecurityEngineResult.TAG_PUBLIC_KEY);


Mime
View raw message