diff --git a/README.adoc b/README.adoc index 5aa8600..c42ed83 100644 --- a/README.adoc +++ b/README.adoc @@ -17,7 +17,7 @@ This Extension allows all MQTT clients to connect to HiveMQ. Using this extension is not secure. -For production usage add an authentication extension and remove the hivemq-no-auth extension. +For production usage add an authentication extension and remove the hivemq-allow-all extension. Authentication extensions can be found in the marketplace (https://www.hivemq.com/extensions/). === Installation diff --git a/src/main/java/com/hivemq/extensions/allowall/AllowAllMain.java b/src/main/java/com/hivemq/extensions/allowall/AllowAllMain.java index 26c37db..cb457ba 100644 --- a/src/main/java/com/hivemq/extensions/allowall/AllowAllMain.java +++ b/src/main/java/com/hivemq/extensions/allowall/AllowAllMain.java @@ -41,7 +41,7 @@ public void extensionStart(final @NotNull ExtensionStartInput extensionStartInpu try { log.warn("\n#####################################################################################################" + "\n# This is an insecure deployment. Every MQTT client is fully authorized. #" + - "\n# For production usage add an authentication extension and remove the hivemq-no-auth extension. #" + + "\n# For production usage add an authentication extension and remove the hivemq-allow-all extension. #" + "\n# Authentication extensions can be found in the marketplace (https://www.hivemq.com/extensions/). #" + "\n#####################################################################################################"); Services.securityRegistry().setAuthenticatorProvider(authenticatorProviderInput -> ALLOW_ALL_AUTHENTICATOR);