This is an automated email from the ASF dual-hosted git repository.
duanzhengqiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 9617ed851ca Update authority doc (#30281)
9617ed851ca is described below
commit 9617ed851ca83ff7c25aa310cc45ee3aa2e4ad5f
Author: Raigor <[email protected]>
AuthorDate: Sun Feb 25 11:00:54 2024 +0800
Update authority doc (#30281)
---
.../user-manual/shardingsphere-proxy/yaml-config/authority.cn.md | 2 +-
.../user-manual/shardingsphere-proxy/yaml-config/authority.en.md | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/yaml-config/authority.cn.md
b/docs/document/content/user-manual/shardingsphere-proxy/yaml-config/authority.cn.md
index 79b3227be91..8975fec8bd7 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/yaml-config/authority.cn.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/yaml-config/authority.cn.md
@@ -19,7 +19,7 @@ weight = 1
```yaml
authority:
users:
- - user: # 用于登录计算节点的用户名和授权主机的组合,格式:<username>@<hostname>,hostname 为 %
或空字符串表示不限制授权主机
+ - user: # 用于登录计算节点的用户名和授权主机的组合,格式:<username>@<hostname>,hostname 为 %
或空字符串表示不限制授权主机,username 和 hostname 大小写不敏感
password: # 用户密码
authenticationMethodName: # 可选项,用于为用户指定密码认证方式
authenticators: # 可选项,默认不需要配置,Proxy 根据前端协议类型自动选择
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/yaml-config/authority.en.md
b/docs/document/content/user-manual/shardingsphere-proxy/yaml-config/authority.en.md
index 307b119c651..bd672802dfa 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/yaml-config/authority.en.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/yaml-config/authority.en.md
@@ -19,7 +19,7 @@ The administrator can choose which privilege provider to use
as needed when conf
```yaml
authority:
users:
- - user: # Specify the username, and authorized host for logging in to the
compute node. Format: <username>@<hostname>. When the hostname is % or an empty
string, it indicates that the authorized host is not limited.
+ - user: # Specify the username, and authorized host for logging in to the
compute node. Format: <username>@<hostname>. When the hostname is % or an empty
string, it indicates that the authorized host is not limited, username and
hostname are case-insensitive
password: # Password
authenticationMethodName: # Optional, used to specify the password
authentication method for the user
authenticators: # Optional, not required by default, Proxy will
automatically choose the authentication method according to the frontend
protocol type
@@ -27,7 +27,7 @@ authority:
type: # Authentication method type
defaultAuthenticator: # Optional, specify an authenticator as the default
password authentication method
privilege:
- type: # Privilege provider type. The default value is ALL_PERMITTED.
+ type: # Privilege provider type. The default value is ALL_PERMITTED
```
## Sample