You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2016/05/18 17:49:35 UTC
[2/2] activemq-artemis git commit: ARTEMIS-523 re-order SASL mechs
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 <jb...@apache.org>
Authored: Tue May 17 14:56:46 2016 -0500
Committer: Clebert Suconic <cl...@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())};