You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2021/06/02 08:21:07 UTC
[shardingsphere] branch master updated: Update documents
dev-manual/proxy (#10621)
This is an automated email from the ASF dual-hosted git repository.
zhangliang 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 568e8cd Update documents dev-manual/proxy (#10621)
568e8cd is described below
commit 568e8cd5bb84d51cddc8b2aaed70789f58066c70
Author: 吴伟杰 <wu...@apache.org>
AuthorDate: Wed Jun 2 16:20:33 2021 +0800
Update documents dev-manual/proxy (#10621)
---
docs/document/content/dev-manual/proxy.cn.md | 11 +++++++++++
docs/document/content/dev-manual/proxy.en.md | 11 +++++++++++
2 files changed, 22 insertions(+)
diff --git a/docs/document/content/dev-manual/proxy.cn.md b/docs/document/content/dev-manual/proxy.cn.md
index 8cadebe..6e2d012 100644
--- a/docs/document/content/dev-manual/proxy.cn.md
+++ b/docs/document/content/dev-manual/proxy.cn.md
@@ -29,3 +29,14 @@ chapter = true
| OracleRecognizer | 使用 Oracle 的 JDBC 驱动执行 SQL |
| SQLServerRecognizer | 使用 SQLServer 的 JDBC 驱动执行 SQL |
| H2Recognizer | 使用 H2 的 JDBC 驱动执行 SQL |
+
+## AuthorityProvideAlgorithm
+
+| *SPI 名称* | *详细说明* |
+| ------------------------------- | ---------------------------- |
+| AuthorityProvideAlgorithm | 用户权限加载逻辑 |
+
+| *已知实现类* | *详细说明* |
+| -------------------------------------------------- | ------------------------ |
+| NativeAuthorityProviderAlgorithm | 基于后端数据库存取权限信息 |
+| AllPrivilegesPermittedAuthorityProviderAlgorithm | 默认授予所有权限(不鉴权) |
diff --git a/docs/document/content/dev-manual/proxy.en.md b/docs/document/content/dev-manual/proxy.en.md
index 37e1a33..ed80368 100644
--- a/docs/document/content/dev-manual/proxy.en.md
+++ b/docs/document/content/dev-manual/proxy.en.md
@@ -29,3 +29,14 @@ chapter = true
| OracleRecognizer | Use Oracle JDBC driver to execute SQL |
| SQLServerRecognizer | Use SQLServer JDBC driver to execute SQL |
| H2Recognizer | Use H2 JDBC driver to execute SQL |
+
+## AuthorityProvideAlgorithm
+
+| *SPI Name* | *Description* |
+| ------------------------------- | ------------------------------ |
+| AuthorityProvideAlgorithm | User authority loading logic |
+
+| *Implementation Class* | *Description* |
+| -------------------------------------------------- | -------------------------------------------------------------- |
+| NativeAuthorityProviderAlgorithm | Persist user authority into the backend database |
+| AllPrivilegesPermittedAuthorityProviderAlgorithm | All privileges granted to user by default (No authentication) |