diff --git a/apps/emqx/i18n/emqx_schema_i18n.conf b/apps/emqx/i18n/emqx_schema_i18n.conf
index 197af9777..bd507a5bf 100644
--- a/apps/emqx/i18n/emqx_schema_i18n.conf
+++ b/apps/emqx/i18n/emqx_schema_i18n.conf
@@ -1877,7 +1877,40 @@ Timeout for proxy protocol. EMQX will close the TCP connection if proxy protocol
}
}
-authentication_0 {
+global_authentication {
+ desc {
+ en: """Default authentication configs for all MQTT listeners.
+
+For per-listener overrides see authentication
in listener configs
+
+This option can be configured with:
+
[]
: The default value, it allows *ALL* logins{enable:true,backend:\"built_in_database\",mechanism=\"password_based\"}
authentication
配置。
+
+该配置可以被配置为:
+[]
: 默认值,允许所以登录请求
+ {enable:true,backend:\"built_in_database\",mechanism=\"password_based\"}
allow
或 deny
的结果。
+
+如果在所有的认证器都执行完后,还是没有结果,登录将被拒绝。
+"""
+ }
+}
+
+listener_authentication {
desc {
en: """
Per-listener authentication override.
@@ -1886,9 +1919,10 @@ When authenticating a login (username, client ID, etc.) the authenticators are c
"""
zh: """
-每侦听器身份验证覆盖。
-身份验证可以是单个身份验证程序实例,也可以是一个数组形式的身份验证程序链。
-验证登录名(用户名、客户端ID等)时,将按配置的顺序检查验证器
+监听器认证重载。
+
+认证配置可以是单个认证器实例,也可以是一个认证器数组组成的认证链。
+执行登录验证时(用户名、客户端 ID 等),将按配置的顺序执行
"""
}
label: {
diff --git a/apps/emqx/src/emqx_schema.erl b/apps/emqx/src/emqx_schema.erl
index 8282d35bb..4a23bfeda 100644
--- a/apps/emqx/src/emqx_schema.erl
+++ b/apps/emqx/src/emqx_schema.erl
@@ -125,28 +125,7 @@ roots(high) ->
ref("mqtt"),
#{desc => ?DESC(mqtt)}
)},
- {?EMQX_AUTHENTICATION_CONFIG_ROOT_NAME,
- authentication(
- "Default authentication configs for all MQTT listeners.\n"
- "\n"
- "For per-listener overrides see authentication
\n"
- "in listener configs\n"
- "\n"
- "\n"
- "EMQX can be configured with:\n"
- "\n"
- "[]
: The default value, it allows *ALL* logins{enable:true,backend:\"built_in_database\",mechanism=\"password_based\"}\n"
- "