Skip to content

Commit a036f55

Browse files
ChoHee15imbajin
andauthored
chore: remove outdated ConfigAuthenticator and revise some description (#435)
--------- Co-authored-by: imbajin <[email protected]>
1 parent 1e297a2 commit a036f55

File tree

6 files changed

+8
-39
lines changed

6 files changed

+8
-39
lines changed

content/cn/docs/config/config-guide.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,19 +173,14 @@ arthas.ip=127.0.0.1
173173
arthas.disabled_commands=jad
174174

175175
# authentication configs
176-
# choose 'org.apache.hugegraph.auth.StandardAuthenticator' or
177-
# 'org.apache.hugegraph.auth.ConfigAuthenticator'
176+
# choose 'org.apache.hugegraph.auth.StandardAuthenticator' or a custom implementation
178177
#auth.authenticator=
179178

180179
# for StandardAuthenticator mode
181180
#auth.graph_store=hugegraph
182181
# auth client config
183182
#auth.remote_url=127.0.0.1:8899,127.0.0.1:8898,127.0.0.1:8897
184183

185-
# for ConfigAuthenticator mode
186-
#auth.admin_token=
187-
#auth.user_tokens=[]
188-
189184
# TODO: Deprecated & removed later (useless from version 1.5.0)
190185
# rpc server configs for multi graph-servers or raft-servers
191186
#rpc.server_host=127.0.0.1

content/cn/docs/config/config-option.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,8 @@ weight: 2
4141
| batch.max_vertices_per_batch | 500 | The maximum number of vertices submitted per batch. |
4242
| batch.max_write_ratio | 50 | The maximum thread ratio for batch writing, only take effect if the batch.max_write_threads is 0. |
4343
| batch.max_write_threads | 0 | The maximum threads for batch writing, if the value is 0, the actual value will be set to batch.max_write_ratio * restserver.max_worker_threads. |
44-
| auth.authenticator | | The class path of authenticator implementation. e.g., org.apache.hugegraph.auth.StandardAuthenticator, or org.apache.hugegraph.auth.ConfigAuthenticator. |
45-
| auth.admin_token | 162f7848-0b6d-4faf-b557-3a0797869c55 | Token for administrator operations, only for org.apache.hugegraph.auth.ConfigAuthenticator. |
44+
| auth.authenticator | | The class path of authenticator implementation. e.g., org.apache.hugegraph.auth.StandardAuthenticator, or a custom implementation. |
4645
| auth.graph_store | hugegraph | The name of graph used to store authentication information, like users, only for org.apache.hugegraph.auth.StandardAuthenticator. |
47-
| auth.user_tokens | [hugegraph:9fd95c9c-711b-415b-b85f-d4df46ba5c31] | The map of user tokens with name and password, only for org.apache.hugegraph.auth.ConfigAuthenticator. |
4846
| auth.audit_log_rate | 1000.0 | The max rate of audit log output per user, default value is 1000 records per second. |
4947
| auth.cache_capacity | 10240 | The max cache capacity of each auth cache item. |
5048
| auth.cache_expire | 600 | The expiration time in seconds of vertex cache. |

content/cn/docs/download/download.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,10 @@ weight: 2
99
> - 推荐使用最新版本的 HugeGraph 软件包, 运行时环境请选择 Java11
1010
> - 验证下载版本, 请使用相应的哈希 (SHA512)、签名和 [项目签名验证 KEYS](https://downloads.apache.org/incubator/hugegraph/KEYS)
1111
> - 检查哈希 (SHA512)、签名的说明在 [版本验证](/docs/contribution-guidelines/validate-release/) 页面, 也可参考 [ASF 验证说明](https://www.apache.org/dyn/closer.cgi#verify)
12-
13-
> 注: HugeGraph 所有组件版本号已保持一致, `client/loader/hubble/common` 等 maven 仓库版本号同理, 依赖引用可参考 [maven 示例](https://github.com/apache/incubator-hugegraph-toolchain#maven-dependencies)
12+
> - 注: HugeGraph 所有组件版本号已保持一致, `client/loader/hubble/common` 等 maven 仓库版本号同理, 依赖引用可参考 [maven 示例](https://github.com/apache/incubator-hugegraph-toolchain#maven-dependencies)
1413
1514
### 最新版本 1.7.0
1615

17-
> 注: 从版本 `1.5.0` 开始,需要 Java11 运行时环境
18-
1916
- Release Date: 2025-11-28
2017
- [Release Notes](/docs/changelog/hugegraph-1.7.0-release-notes/)
2118

@@ -41,6 +38,7 @@ Please refer to [build from source](/docs/quickstart/hugegraph-server/).
4138
>
4239
> 1. 请大家尽早迁移到最新 Release 版本上, 社区将不再维护 `1.0.0` 前的旧版本 (非 ASF 版本)
4340
> 2. `1.3.0` 是最后一个兼容 Java8 的主版本, 请尽早使用/迁移运行时为 Java11 (低版本 Java 有潜在更多的 SEC 风险和性能影响)
41+
> 3. 从版本 `1.5.0` 开始,需要 Java11 运行时环境
4442
4543
#### 1.5.0
4644

@@ -114,9 +112,3 @@ Please refer to [build from source](/docs/quickstart/hugegraph-server/).
114112
| Server | Toolchain | Computer | Common |
115113
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
116114
| [[Source](https://www.apache.org/dyn/closer.lua/incubator/hugegraph/1.0.0/apache-hugegraph-incubating-1.0.0-src.tar.gz?action=download)] [[Sign](https://downloads.apache.org/incubator/hugegraph/1.0.0/apache-hugegraph-incubating-1.0.0-src.tar.gz.asc)] [[SHA512](https://downloads.apache.org/incubator/hugegraph/1.0.0/apache-hugegraph-incubating-1.0.0-src.tar.gz.sha512)] | [[Source](https://www.apache.org/dyn/closer.lua/incubator/hugegraph/1.0.0/apache-hugegraph-toolchain-incubating-1.0.0-src.tar.gz?action=download)] [[Sign](https://downloads.apache.org/incubator/hugegraph/1.0.0/apache-hugegraph-toolchain-incubating-1.0.0-src.tar.gz.asc)] [[SHA512](https://downloads.apache.org/incubator/hugegraph/1.0.0/apache-hugegraph-toolchain-incubating-1.0.0-src.tar.gz.sha512)] | [[Source](https://www.apache.org/dyn/closer.lua/incubator/hugegraph/1.0.0/apache-hugegraph-computer-incubating-1.0.0-src.tar.gz?action=download)] [[Sign](https://downloads.apache.org/incubator/hugegraph/1.0.0/apache-hugegraph-computer-incubating-1.0.0-src.tar.gz.asc)] [[SHA512](https://downloads.apache.org/incubator/hugegraph/1.0.0/apache-hugegraph-computer-incubating-1.0.0-src.tar.gz.sha512)] | [[Source](https://www.apache.org/dyn/closer.lua/incubator/hugegraph/1.0.0/apache-hugegraph-commons-incubating-1.0.0-src.tar.gz?action=download)] [[Sign](https://downloads.apache.org/incubator/hugegraph/1.0.0/apache-hugegraph-commons-incubating-1.0.0-src.tar.gz.asc)] [[SHA512](https://downloads.apache.org/incubator/hugegraph/1.0.0/apache-hugegraph-commons-incubating-1.0.0-src.tar.gz.sha512)] |
117-
118-
---
119-
120-
<details> <summary>旧版本 (非 ASF 版本)</summary>
121-
由于 ASF 规则要求, 不能直接在当前页面存放非 ASF 发行包, 对于 1.0.0 前旧版本 (非 ASF 版本) 的下载说明, 请跳转至 https://github.com/apache/incubator-hugegraph-doc/wiki/Apache-HugeGraph-(Incubating)-Old-Versions-Download
122-
</details>

content/en/docs/config/config-guide.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,19 +171,14 @@ arthas.ip=127.0.0.1
171171
arthas.disabled_commands=jad
172172

173173
# authentication configs
174-
# choose 'org.apache.hugegraph.auth.StandardAuthenticator' or
175-
# 'org.apache.hugegraph.auth.ConfigAuthenticator'
174+
# choose 'org.apache.hugegraph.auth.StandardAuthenticator' or a custom implementation
176175
#auth.authenticator=
177176

178177
# for StandardAuthenticator mode
179178
#auth.graph_store=hugegraph
180179
# auth client config
181180
#auth.remote_url=127.0.0.1:8899,127.0.0.1:8898,127.0.0.1:8897
182181

183-
# for ConfigAuthenticator mode
184-
#auth.admin_token=
185-
#auth.user_tokens=[]
186-
187182
# TODO: Deprecated & removed later (useless from version 1.5.0)
188183
# rpc server configs for multi graph-servers or raft-servers
189184
#rpc.server_host=127.0.0.1

content/en/docs/config/config-option.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,8 @@ Corresponding configuration file `rest-server.properties`
4141
| batch.max_vertices_per_batch | 500 | The maximum number of vertices submitted per batch. |
4242
| batch.max_write_ratio | 50 | The maximum thread ratio for batch writing, only take effect if the batch.max_write_threads is 0. |
4343
| batch.max_write_threads | 0 | The maximum threads for batch writing, if the value is 0, the actual value will be set to batch.max_write_ratio * restserver.max_worker_threads. |
44-
| auth.authenticator | | The class path of authenticator implementation. e.g., org.apache.hugegraph.auth.StandardAuthenticator, or org.apache.hugegraph.auth.ConfigAuthenticator. |
45-
| auth.admin_token | 162f7848-0b6d-4faf-b557-3a0797869c55 | Token for administrator operations, only for org.apache.hugegraph.auth.ConfigAuthenticator. |
44+
| auth.authenticator | | The class path of authenticator implementation. e.g., org.apache.hugegraph.auth.StandardAuthenticator, or a custom implementation. |
4645
| auth.graph_store | hugegraph | The name of graph used to store authentication information, like users, only for org.apache.hugegraph.auth.StandardAuthenticator. |
47-
| auth.user_tokens | [hugegraph:9fd95c9c-711b-415b-b85f-d4df46ba5c31] | The map of user tokens with name and password, only for org.apache.hugegraph.auth.ConfigAuthenticator. |
4846
| auth.audit_log_rate | 1000.0 | The max rate of audit log output per user, default value is 1000 records per second. |
4947
| auth.cache_capacity | 10240 | The max cache capacity of each auth cache item. |
5048
| auth.cache_expire | 600 | The expiration time in seconds of vertex cache. |

0 commit comments

Comments
 (0)