Skip to content

Commit 382e588

Browse files
rabbitmq.conf.example: update MQTT keys related to anonymous connections
1 parent a16362a commit 382e588

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

docs/rabbitmq.conf.example

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -582,18 +582,15 @@
582582
# MQTT section
583583
# =======================================
584584

585-
## Set the default user name and password. Will be used as the default login
586-
## if a connecting client provides no other login details.
587-
##
588-
## Please note that setting this will allow clients to connect without
589-
## authenticating!
585+
## Set the default user name and password used for anonymous connections (when client
586+
## provides no credentials). Anonymous connections are highly discouraged!
590587
##
591588
# mqtt.default_user = guest
592589
# mqtt.default_pass = guest
593590

594-
## Enable anonymous access. If this is set to false, clients MUST provide
595-
## login information in order to connect. See the default_user/default_pass
596-
## configuration elements for managing logins without authentication.
591+
## Enable anonymous connections. If this is set to false, clients MUST provide
592+
## credentials in order to connect. See also the mqtt.default_user/mqtt.default_pass
593+
## keys. Anonymous connections are highly discouraged!
597594
##
598595
# mqtt.allow_anonymous = true
599596

0 commit comments

Comments
 (0)