0

我正在 openam-6.5.2 中创建一个身份验证树,我需要PageNode在 ForgeRock 中使用多个Password Collector node。如何在下一个节点中读取两个密码。密码存储在瞬态,但我只能检索其中一个。

无论如何要同时读取两个密码?

4

1 回答 1

0

在 forgerock AM 文档中,他们声明:

The Password Collector authentication node prompts the user to enter their password. 
The captured password is transient, persisting only until the authentication flow 
reaches the next node requiring user interaction.

因此,您不能在此过程中存储两个密码,但您可以将第一个密码值存储在 LDAP 中的用户配置文件中,(通过使用自定义属性 tmp 或 password_tmp),您可以通过将使用 LDAP API 的自定义节点来执行此操作发送更新属性请求。

您还可以使用默认的设置会话属性节点将第一个密码存储在会话中,请注意,在这种情况下,如果会话是客户端,密码应该被加密或散列。

于 2020-06-17T09:42:53.970 回答