1

如何解锁本地 Cloud Foundry 用户。没有在 uaac Gem 上找到选项?

我们的用户使用错误密码的 CI/CD 工具,然后他们的 CF 用户被锁定。

4

2 回答 2

1

默认情况下,UAA 不会在尝试失败后永久锁定帐户。这将导致帐户在一段时间内不可用(默认为 5 分钟),并将继续锁定 5 分钟,直到成功登录。如果您没有更改默认配置,只需等待 5 分钟并尝试使用正确的凭据。

于 2015-11-12T15:22:13.057 回答
1

采用uaadb

select * from sec_audit;
+--------------------------------------+------------+----------------------------+----------------+---------------------+------------------+
| principal_id                         | event_type | origin                     | event_data     | created             | identity_zone_id |
+--------------------------------------+------------+----------------------------+----------------+---------------------+------------------+
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 |          1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 10:51:47 | uaa              |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 |          1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 11:46:34 | uaa              |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 |          1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 11:46:47 | uaa              |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 |          1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 11:46:56 | uaa              |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 |          1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 11:47:01 | uaa              |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 |          1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 12:51:47 | uaa              |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 |          1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 13:46:34 | uaa              |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 |          1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 13:46:47 | uaa              |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 |          1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 13:46:56 | uaa              |
| e38af5c2-ae71-406e-bfd5-2df4f8891cf7 |          1 | remoteAddress=192.168.35.27 | admin-opr | 2015-11-11 13:47:01 | uaa              |
+--------------------------------------+------------+----------------------------+----------------+---------------------+------------------+

截断这张表,所有的锁都消失了

于 2015-11-16T12:01:12.970 回答