cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject cxf git commit: [CXF-6730] - ClassCastException TransportBinding cannot be cast to AbstractSymmetricAsymmetricBinding in AbstractBindingBuilder
Date Tue, 05 Jan 2016 12:08:09 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes edeb4b8c5 -> 5ca477dfd


[CXF-6730] - ClassCastException TransportBinding cannot be cast to AbstractSymmetricAsymmetricBinding
in AbstractBindingBuilder


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

Branch: refs/heads/3.0.x-fixes
Commit: 5ca477dfdc537d655f572467c5a673ad397058b0
Parents: edeb4b8
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Tue Jan 5 12:05:01 2016 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Tue Jan 5 12:08:03 2016 +0000

----------------------------------------------------------------------
 .../ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/5ca477df/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java
----------------------------------------------------------------------
diff --git a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java
b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java
index 4f10165..2712d60 100644
--- a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java
+++ b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AbstractBindingBuilder.java
@@ -199,8 +199,8 @@ public abstract class AbstractBindingBuilder extends AbstractCommonBindingHandle
             storeBytesInAttachment = true;
             if (binding instanceof AbstractSymmetricAsymmetricBinding
                 && (ProtectionOrder.EncryptBeforeSigning 
-                    == ((AbstractSymmetricAsymmetricBinding)binding).getProtectionOrder())
-                    || ((AbstractSymmetricAsymmetricBinding)binding).isProtectTokens()) {
+                    == ((AbstractSymmetricAsymmetricBinding)binding).getProtectionOrder()
+                    || ((AbstractSymmetricAsymmetricBinding)binding).isProtectTokens()))
{
                 LOG.fine("Disabling SecurityConstants.STORE_BYTES_IN_ATTACHMENT due to "
                          + "EncryptBeforeSigning or ProtectTokens policy.");
                 storeBytesInAttachment = false;


Mime
View raw message