Regular Expression Conditional Login URL

Conditionally redirect users based on the incoming request URL. If the incoming request URL matches a regular expression, the agent redirects the request to a specific URL. That specific URL can be an AM instance, site, or a different website.

This property specifies the redirection URL and its parameters. Configure this property in the same way as for AM Conditional Login URL, except do not specify the string or pipe (|) character.

This property relies on Regular Expression Conditional Login Pattern to specify the regular expression that the domain name must match.

Example:

org.forgerock.agents.config.conditional.login.pattern[0] = .*shop

org.forgerock.agents.config.conditional.login.url[0] = http://openam.example.com/openam/oauth2/authorize?realm=sales

Default: Empty

Property name

org.forgerock.agents.config.conditional.login.url

Property aliases

org.forgerock.agents.config.conditional.login.url (since 4.x)

Type

String Map

Bootstrap property

No

Required property

No

Restart required

No

AM console tab

AM Services (Available in the console from AM 7)