@@ -770,8 +770,8 @@ auth_backends.2 = internal
770
770
## Authentication Mechanisms {#mechanisms}
771
771
772
772
RabbitMQ supports multiple SASL authentication
773
- mechanisms. There are three such mechanisms built into the
774
- server: <code >PLAIN</code >, <code >AMQPLAIN</code >,
773
+ mechanisms. There are four such mechanisms built into the
774
+ server: <code >PLAIN</code >, <code >AMQPLAIN</code >, < code >ANONYMOUS</ code >,
775
775
and <code >RABBIT-CR-DEMO</code >, and one — <code >EXTERNAL</code > —
776
776
available as a [ plugin] ( https://github.com/rabbitmq/rabbitmq-auth-mechanism-ssl ) .
777
777
@@ -806,6 +806,18 @@ The built-in mechanisms are:
806
806
</td>
807
807
</tr >
808
808
809
+ <tr >
810
+ <td>ANONYMOUS</td>
811
+ <td>
812
+ This mechanism is enabled by default allowing anonymous clients to connect without providing
813
+ any credentials. RabbitMQ will internally authenticate and authorize the client using the credentials
814
+ configured in <code>anonymous_login_user</code> and <code>anonymous_login_pass</code> (both are set to <code>guest</code> by default).
815
+ In other words, any unauthenticated client will be able to connect and act as the configured <code>anonymous_login_user</code>.
816
+ <strong>For production environments, remove this mechanism.</strong>
817
+ See the [production checklist](http://localhost:3000/docs/next/production-checklist#anonymous-login) documentation.
818
+ </td>
819
+ </tr >
820
+
809
821
<tr >
810
822
<td>EXTERNAL</td>
811
823
<td>
@@ -831,10 +843,9 @@ the <code>rabbit</code> application determines which of the
831
843
installed mechanisms are offered to connecting clients. This
832
844
variable should be a list of atoms corresponding to
833
845
mechanism names, for example
834
- <code >[ 'PLAIN', 'AMQPLAIN'] </code > by default. The server-side list is not
835
- considered to be in any particular order. See the
836
- [ configuration file] ( ./configure#configuration-files )
837
- documentation.
846
+ <code >[ 'PLAIN', 'AMQPLAIN', 'ANONYMOUS'] </code > by default.
847
+ The server mechanisms are ordered in decreasing level of preference.
848
+ See the [ configuration file] ( ./configure#configuration-files ) documentation.
838
849
839
850
840
851
### Mechanism Configuration in the Client {#client-mechanism-configuration}
0 commit comments