This closes #521

This commit is contained in:
Clebert Suconic 2016-05-18 13:49:12 -04:00
commit 1dcdc26d70
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())};