Location Interpretations Configuration
Description
Analyzes an URI sent to the /<loginapp-uri>/rest/public/authentication/location/interpret endpoint and if it matches the specified pattern, returns a set of values to the client.
This could be the display language or other information extracted from the URI, that can be used by the client before showing its UI.
May be used by
Properties
URI Pattern (
uriPattern) Description
The URI pattern (regular expression pattern) the provided URI must match in order to use the interpreters configured below. The matching is case-insensitive.
Attributes
RegEx
Optional
Default value
.*
Location Interpreter Configs (
locationInterpreterConfigs) Description
The endpoint returns a JSON map of key/values that have been extracted or derived from the given URI.
This map specifies the keys returned and a corresponding plugin defining the logic to derive the value. For example, the key 'lang' could be mapped to a plugin that extracts a user language from the URI.
The resulting map of all key/value pairs is returned to the REST client.
Attributes
Plugin-Map
Mandatory
Assignable plugins
YAML Template (with default values)
type: LocationInterpretersConfigImpl
id: LocationInterpretersConfigImpl-xxxxxx
displayName:
comment:
properties:
locationInterpreterConfigs:
uriPattern: .*