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 2015/02/18 12:55:31 UTC

cxf git commit: [CXF-6255] - Changing the warning message on receiving a fault

Repository: cxf
Updated Branches:
  refs/heads/master 5ca457f15 -> 2b505b8c8


[CXF-6255] - Changing the warning message on receiving a fault


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

Branch: refs/heads/master
Commit: 2b505b8c84fd450359ce07aebf89539473425e2b
Parents: 5ca457f
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Wed Feb 18 11:55:08 2015 +0000
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Wed Feb 18 11:55:08 2015 +0000

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


http://git-wip-us.apache.org/repos/asf/cxf/blob/2b505b8c/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 07d4e1e..cff4c53 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
@@ -298,8 +298,7 @@ public class WSS4JInInterceptor extends AbstractWSS4JInterceptor {
                 // methods.
                 wsResult = new ArrayList<WSSecurityEngineResult>();
                 if (doc.getSOAPPart().getEnvelope().getBody().hasFault() && isRequestor(msg)) {
-                    LOG.warning("Request does not contain Security header, " 
-                                + "but it's a fault.");
+                    LOG.warning("The request is a SOAP Fault, but it is not secured");
                     // We allow lax action matching here for backwards compatibility
                     // with manually configured WSS4JInInterceptors that previously
                     // allowed faults to pass through even if their actions aren't