rabbitmq-server/deps/rabbitmq_ct_helpers
David Ansari b6fbc0292a Maintain order of configured SASL mechanisms
RabbitMQ should advertise the SASL mechanisms in the order as
configured in `rabbitmq.conf`.

Starting RabbitMQ with the following `rabbitmq.conf`:
```
auth_mechanisms.1 = PLAIN
auth_mechanisms.2 = AMQPLAIN
auth_mechanisms.3 = ANONYMOUS
```

translates prior to this commit to:
```
1> application:get_env(rabbit, auth_mechanisms).
{ok,['ANONYMOUS','AMQPLAIN','PLAIN']}
```

and after this commit to:
```
1> application:get_env(rabbit, auth_mechanisms).
{ok,['PLAIN','AMQPLAIN','ANONYMOUS']}
```

In our 4.0 docs we write:
> The server mechanisms are ordered in decreasing level of preference.

which complies with https://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-security-v1.0-os.html#type-sasl-mechanisms
2024-08-16 14:38:36 +02:00
..
include Respect message_interceptors.incoming.set_header_timestamp 2024-04-10 11:40:49 +02:00
src Maintain order of configured SASL mechanisms 2024-08-16 14:38:36 +02:00
test More (c) source header updates #9969 2024-01-19 19:53:28 -05:00
tools Adjust test cert generation in rabbitmq_ct_helpers 2023-05-23 13:15:28 +02:00
.gitignore Cleanup .gitignore files for the monorepo 2024-06-28 12:00:52 +02:00
BUILD.bazel Reduce Khepri test flakes 2024-08-06 22:01:17 +02:00
CODE_OF_CONDUCT.md Revert "Correct a double quote introduced in #4603" 2022-04-20 16:05:56 +04:00
CONTRIBUTING.md Revert "Correct a double quote introduced in #4603" 2022-04-20 16:05:56 +04:00
LICENSE Replace @rabbitmq.com addresses with rabbitmq-core@groups.vmware.com 2023-06-20 15:40:13 +04:00
LICENSE-APACHE2 More missed license header updates #9969 2024-02-05 12:26:25 -05:00
LICENSE-MPL-RabbitMQ Revert "Correct a double quote introduced in #4603" 2022-04-20 16:05:56 +04:00
Makefile Fix some dialyzer build system errors in make (#11014) 2024-04-16 13:26:51 +02:00
app.bzl Message Containers (#5077) 2023-08-31 11:27:13 +01:00