activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rob...@apache.org
Subject activemq git commit: AMQ-6055: fix for earlier change to plain response encoding
Date Fri, 20 Nov 2015 18:19:45 GMT
Repository: activemq
Updated Branches:
  refs/heads/master ce5628a38 -> d7e4c6d96


AMQ-6055: fix for earlier change to plain response encoding


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

Branch: refs/heads/master
Commit: d7e4c6d96f0e5b26d4b392e6b36595ee644fb9a2
Parents: ce5628a
Author: Robert Gemmell <robbie@apache.org>
Authored: Fri Nov 20 18:19:27 2015 +0000
Committer: Robert Gemmell <robbie@apache.org>
Committed: Fri Nov 20 18:19:27 2015 +0000

----------------------------------------------------------------------
 .../apache/activemq/transport/amqp/client/sasl/PlainMechanism.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/d7e4c6d9/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/sasl/PlainMechanism.java
----------------------------------------------------------------------
diff --git a/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/sasl/PlainMechanism.java
b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/sasl/PlainMechanism.java
index 0dd6483..530c99c 100644
--- a/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/sasl/PlainMechanism.java
+++ b/activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/client/sasl/PlainMechanism.java
@@ -60,7 +60,7 @@ public class PlainMechanism extends AbstractMechanism {
         byte[] data = new byte[authzidBytes.length + 1 + usernameBytes.length + 1 + passwordBytes.length];
         System.arraycopy(authzidBytes, 0, data, 0, authzidBytes.length);
         System.arraycopy(usernameBytes, 0, data, 1 + authzidBytes.length, usernameBytes.length);
-        System.arraycopy(passwordBytes, 0, data, 2 + usernameBytes.length, passwordBytes.length);
+        System.arraycopy(passwordBytes, 0, data, 2 + authzidBytes.length + usernameBytes.length,
passwordBytes.length);
         return data;
     }
 


Mime
View raw message