activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [2/2] activemq-artemis git commit: ARTEMIS-523 re-order SASL mechs
Date Wed, 18 May 2016 17:49:35 GMT
ARTEMIS-523 re-order SASL mechs


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

Branch: refs/heads/master
Commit: 2c923cec9772d6381beaad9541f6113880d1859d
Parents: d728fe7
Author: jbertram <jbertram@apache.org>
Authored: Tue May 17 14:56:46 2016 -0500
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Wed May 18 13:49:12 2016 -0400

----------------------------------------------------------------------
 .../protocol/proton/plug/ActiveMQProtonConnectionCallback.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/2c923cec/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/proton/plug/ActiveMQProtonConnectionCallback.java
----------------------------------------------------------------------
diff --git a/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/proton/plug/ActiveMQProtonConnectionCallback.java
b/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/proton/plug/ActiveMQProtonConnectionCallback.java
index 7e0fe22..1255b13 100644
--- a/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/proton/plug/ActiveMQProtonConnectionCallback.java
+++ b/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/proton/plug/ActiveMQProtonConnectionCallback.java
@@ -68,7 +68,7 @@ public class ActiveMQProtonConnectionCallback implements AMQPConnectionCallback
       ServerSASL[] result;
 
       if (supportsAnonymous) {
-         result = new ServerSASL[]{new AnonymousServerSASL(), new ActiveMQPlainSASL(manager.getServer().getSecurityStore())};
+         result = new ServerSASL[]{new ActiveMQPlainSASL(manager.getServer().getSecurityStore()),
new AnonymousServerSASL()};
       }
       else {
          result = new ServerSASL[]{new ActiveMQPlainSASL(manager.getServer().getSecurityStore())};


Mime
View raw message