Java Agents 5.10

Login Reason Value Map

When Login Reason Parameter Name is set, this property specifies alternative strings to use for the supported values. For example:

Consider the example where Login Reason Parameter Name is set to auth_reason, and this property is set as follows:

org.forgerock.agents.login.reason.map[NO_TOKEN]=notoken

org.forgerock.agents.login.reason.map[TOKEN_EXPIRED]=expired

org.forgerock.agents.login.reason.map[EXCEPTION]=exception

The agent redirects authentication to the following URL:

https://custom.example.com:8443/…​./login_endpoint?…​&auth_reason=notoken&…​

Property name

org.forgerock.agents.login.reason.remapper

Aliases

org.forgerock.agents.login.reason.remapper
  Introduced in Java Agent 5.7

org.forgerock.agents.login.reason.map
  Introduced in Java Agent 5.7
  Recognized from AM 7

Function

Login

Type

Map

  • Keys: failed login reason code

  • Values: masked value

Bootstrap property

No

Required property

No

Restart required

No

Local configuration file

AgentConfig.properties

AM console

Tab: Miscellaneous (from AM 7)

Title: Login Reason Value Map