Skip to content

Commit b09f69f

Browse files
authored
Add constraints on invalid password attempts (#1356)
* Add constraints on invalid password attempts * update * update
1 parent c13167a commit b09f69f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs-2.0/7.data-security/1.authentication/1.authentication.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,13 @@ Nebula Graph 支持两种身份验证方式:本地身份验证和 LDAP 验证
1616

1717
### 启用本地身份验证
1818

19-
1. 编辑配置文件`nebula-graphd.conf`(默认目录为`/usr/local/nebula/etc/`),设置`--enable_authorize=true`并保存退出。
19+
1. 编辑配置文件`nebula-graphd.conf`(默认目录为`/usr/local/nebula/etc/`),设置如下参数:
20+
21+
- `--enable_authorize`:是否启用身份验证,可选值:`true``false`
22+
23+
- `--failed_login_attempts`:可选项,需要手动添加该参数。单个 Graph 节点允许连续输入错误密码的次数。超过该次数时,账户会被锁定。如果有多个 Graph 节点,允许的次数为`节点数 * 次数`
24+
25+
- `--password_lock_time_in_secs`:可选项,需要手动添加该参数。多次输入错误密码后,账户被锁定的时间。单位:秒。
2026

2127
2. 重启 Nebula Graph 服务。
2228

0 commit comments

Comments
 (0)