Closed yh69 closed 3 months ago
config authentication 模式start-hugegraph启动总失败
fixed. close
不建议使用ConfigAuthenticator,建议使用StandardAuthenticator,请参考配置文档:https://hugegraph.apache.org/docs/config/config-authentication/
如果配置ConfigAuthenticator时,可以尝试改进以正常启动服务:
可以在this.authenticator.authManager()
调用时捕获NotImplementedException
异常,Log打印info后忽略此异常即可:
https://github.com/apache/incubator-hugegraph/blob/2af01bc92ddfd69e654889b9f6e69a729d4f3043/hugegraph-api/src/main/java/com/baidu/hugegraph/core/GraphManager.java#L275
欢迎贡献代码~
fixed. close how to fix it ????
这是什么原因造成的?我也遇到了同样的问题,能不能不改代码的前提下修复它?
使用 StandardAuthenticator,请参考配置文档:hugegraph.apache.org/docs/config/config-authentication
参考一下, 直接使用新版的 auth 设置就行, 有异常的那个是旧版的. 验证信息是存在本地
fixed. close how to fix it ????
use standard authenticator, can use admin/passwd to access restserver. standard auth is powerful to do many other things on authentication.
I appreciate your help, but why they support a useless ConfigAuthenticator?
Problem Type (问题类型)
configs (配置项 / 文档相关)
Before submit
Environment (环境信息)
Your Question (问题描述)
在配置文件gremlin-server.yaml中配置authenticator及其rest-server文件路径:
在配置文件rest-server.properties中配置authenticator及其tokens信息:
在配置文件hugegraph{n}.properties中配置gremlin.graph信息:
Vertex/Edge example (问题点 / 边数据举例)
No response
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
No response