Web Policy Agents 2023.6

Regular Expression Conditional Login URL

If the incoming request URL matches a pattern specified in Regular Expression Conditional Login Pattern, the agent redirects the request to the specified URL.

The specific URL can be an AM instance, site, or a different website.

Example:

In the following example, when the request matches the regular expression .*shop, the agent redirects it to the sales realm for authentication:

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

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

Default: Empty

Property name

org.forgerock.agents.config.conditional.login.url
  Introduced in Web Agent 4.x

Function

Login redirect

Type

String Map

Bootstrap property

No

Required property

No

Restart required

No

AM console

Tab: AM Services (From AM 7)

Title: Regular Expression Conditional Login URL

Copyright © 2010-2023 ForgeRock, all rights reserved.