← Back to plugin index

Request URL Pattern UI Tenant ID Rule

Description
Sets the UI Tenant ID to a static value if the request URL matches a regex pattern.
Type name
RequestUrlPatternUiTenantIdRule
Class
com.airlock.iam.flow.shared.application.configuration.uitenantid.RequestUrlPatternUiTenantIdRuleConfig
May be used by
Properties
Request URL Pattern (requestUrlPattern)
Description

If the request URL matches this pattern, the UI Tenant ID is set to the value configured in UI Tenant ID Value.

The request URL considered here is the URL of the first request made to the IAM backend to start the flow, not the URL entered into the end-client browser.

The request URL checked against this pattern includes the protocol, host, port and path, but excludes query parameters.

Attributes
RegEx
Mandatory
UI Tenant ID Value (uiTenantIdValue)
Description
If the request URL matches the pattern configured in Request URL Pattern, the UI Tenant ID is set to this value.
Attributes
String
Mandatory
Example
example-tenant-id
Example
exampleTenantId
Example
value1
YAML Template (with default values)

type: RequestUrlPatternUiTenantIdRule
id: RequestUrlPatternUiTenantIdRule-xxxxxx
displayName: 
comment: 
properties:
  requestUrlPattern:
  uiTenantIdValue: