emqx_authn_mongodb {
standalone {
desc {
en: """Configuration of authenticator using MongoDB (Standalone) as authentication data source."""
zh: """使用 MongoDB (Standalone) 作为认证数据源的认证器的配置项。"""
}
}
replica-set {
desc {
en: """Configuration of authenticator using MongoDB (Replica Set) as authentication data source."""
zh: """使用 MongoDB (Replica Set) 作为认证数据源的认证器的配置项。"""
}
}
sharded-cluster {
desc {
en: """Configuration of authenticator using MongoDB (Sharded Cluster) as authentication data source."""
zh: """使用 MongoDB (Sharded Cluster) 作为认证数据源的认证器的配置项。"""
}
}
collection {
desc {
en: """Collection used to store authentication data."""
zh: """存储认证数据的集合。"""
}
label: {
en: """Collection"""
zh: """集合"""
}
}
filter {
desc {
en: """
Conditional expression that defines the filter condition in the query.
Filter supports the following placeholders:
- ${username}
: Will be replaced at runtime with Username
used by the client when connecting
- ${clientid}
: Will be replaced at runtime with Client ID
used by the client when connecting
"""
zh: """
在查询中定义过滤条件的条件表达式。
过滤器支持如下占位符:
- ${username}
: 将在运行时被替换为客户端连接时使用的用户名
- ${clientid}
: 将在运行时被替换为客户端连接时使用的客户端标识符
"""
}
label: {
en: """Filter"""
zh: """过滤器"""
}
}
password_hash_field {
desc {
en: """Document field that contains password hash."""
zh: """文档中用于存放密码散列的字段。"""
}
label: {
en: """Password Hash Field"""
zh: """密码散列字段"""
}
}
salt_field {
desc {
en: """Document field that contains the password salt."""
zh: """文档中用于存放盐值的字段。"""
}
label: {
en: """Salt Field"""
zh: """盐值字段"""
}
}
is_superuser_field {
desc {
en: """Document field that defines if the user has superuser privileges."""
zh: """文档中用于定义用户是否具有超级用户权限的字段。"""
}
label: {
en: """Is Superuser Field"""
zh: """超级用户字段"""
}
}
}