imbajin commented on code in PR #300:
URL:
https://github.com/apache/incubator-hugegraph-doc/pull/300#discussion_r1405136761
##########
content/cn/docs/config/config-authentication.md:
##########
@@ -64,35 +62,7 @@ auth.graph_store=hugegraph
gremlin.graph=org.apache.hugegraph.auth.HugeFactoryAuthProxy
```
-然后详细的权限 API 调用和说明请参考 [Authentication-API](/docs/clients/restful-api/auth) 文档
-
-#### ConfigAuthenticator 模式
-
-`ConfigAuthenticator`模式是通过预先在配置文件中设置用户信息来支持用户认证,该实现是基于配置好的静态`tokens`来验证用户是否合法。下面是具体的配置流程(重启服务生效):
-
-在配置文件`gremlin-server.yaml`中配置`authenticator`及其`rest-server`文件路径:
-
-```yaml
-authentication: {
- authenticator: org.apache.hugegraph.auth.ConfigAuthenticator,
- authenticationHandler: org.apache.hugegraph.auth.WsAndHttpBasicAuthHandler,
- config: {tokens: conf/rest-server.properties}
-}
-```
-
-在配置文件`rest-server.properties`中配置`authenticator`及其`tokens`信息:
-
-```properties
-auth.authenticator=org.apache.hugegraph.auth.ConfigAuthenticator
-auth.admin_token=token-value-a
-auth.user_tokens=[hugegraph1:token-value-1, hugegraph2:token-value-2]
-```
-
-在配置文件`hugegraph{n}.properties`中配置`gremlin.graph`信息:
-
-```properties
-gremlin.graph=org.apache.hugegraph.auth.HugeFactoryAuthProxy
-```
Review Comment:
> > shall we mark them as `outdated` & put them in a single space? (or just
delete them? @javeme )
>
> i think we just delete it; In the future the best method is do whole doc's
version control overall,not mark the specific change;
>
> and another way , we can record `doc change log`, like current Hugegraph
Release `change log`
>
> cc @javeme
OK,just delete it for now
outdated doc should be visited by website tag/version function,record this
as a important need(issue)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]