ARTEMIS-523 re-order SASL mechs
This commit is contained in:
parent
d728fe7718
commit
2c923cec97
|
@ -68,7 +68,7 @@ public class ActiveMQProtonConnectionCallback implements AMQPConnectionCallback
|
||||||
ServerSASL[] result;
|
ServerSASL[] result;
|
||||||
|
|
||||||
if (supportsAnonymous) {
|
if (supportsAnonymous) {
|
||||||
result = new ServerSASL[]{new AnonymousServerSASL(), new ActiveMQPlainSASL(manager.getServer().getSecurityStore())};
|
result = new ServerSASL[]{new ActiveMQPlainSASL(manager.getServer().getSecurityStore()), new AnonymousServerSASL()};
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
result = new ServerSASL[]{new ActiveMQPlainSASL(manager.getServer().getSecurityStore())};
|
result = new ServerSASL[]{new ActiveMQPlainSASL(manager.getServer().getSecurityStore())};
|
||||||
|
|
Loading…
Reference in New Issue