ARTEMIS-523 re-order SASL mechs

This commit is contained in:
jbertram 2016-05-17 14:56:46 -05:00 committed by Clebert Suconic
parent d728fe7718
commit 2c923cec97
1 changed files with 1 additions and 1 deletions

View File

@ -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())};