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:07:53 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 06e74f175 -> 814b1f036


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

Branch: refs/heads/3.1.x-fixes
Commit: 814b1f03633ad380c4742f6c901b5d6f8e61a793
Parents: 06e74f1
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:05:37 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/814b1f03/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 28d3e08..815cb8f 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
@@ -204,8 +204,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