You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2015/04/01 16:18:04 UTC

activemq git commit: https://issues.apache.org/jira/browse/AMQ-5704

Repository: activemq
Updated Branches:
  refs/heads/master a7178a46b -> 3d6bb7c39


https://issues.apache.org/jira/browse/AMQ-5704

send correct order of preferred SASL mechanisms.

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

Branch: refs/heads/master
Commit: 3d6bb7c392013a6425b37e647cc8cc1b25101f85
Parents: a7178a4
Author: Timothy Bish <ta...@gmail.com>
Authored: Wed Apr 1 10:17:45 2015 -0400
Committer: Timothy Bish <ta...@gmail.com>
Committed: Wed Apr 1 10:18:01 2015 -0400

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


http://git-wip-us.apache.org/repos/asf/activemq/blob/3d6bb7c3/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/sasl/AmqpAuthenticator.java
----------------------------------------------------------------------
diff --git a/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/sasl/AmqpAuthenticator.java b/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/sasl/AmqpAuthenticator.java
index 82e5eab..b248fbf 100644
--- a/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/sasl/AmqpAuthenticator.java
+++ b/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/sasl/AmqpAuthenticator.java
@@ -36,7 +36,7 @@ public class AmqpAuthenticator {
 
     private static final Logger LOG = LoggerFactory.getLogger(AmqpAuthenticator.class);
 
-    private static final String[] mechanisms = new String[] { "ANONYMOUS", "PLAIN" };
+    private static final String[] mechanisms = new String[] { "PLAIN", "ANONYMOUS" };
 
     private final BrokerService brokerService;
     private final AmqpTransport transport;