OAuth 2.0 Resource Selector
Description
Plugin selecting a specific resource from a parsed response.
To find a resource in the response tree, the configured regex patterns are applied to the identifiers in the following way:
The first pattern of the matcher list is applied to the keys of the root level. The element corresponding to the first matching key is retrieved and the next pattern is applied to the keys of the nested element.
The last pattern must apply to a single value or a list of values (then the first one is used).
To find a resource in the response tree, the configured regex patterns are applied to the identifiers in the following way:
The first pattern of the matcher list is applied to the keys of the root level. The element corresponding to the first matching key is retrieved and the next pattern is applied to the keys of the nested element.
The last pattern must apply to a single value or a list of values (then the first one is used).
May be used by
Properties
Matcher List (
matcherList) Description
List of patterns that will be applied in sequence on the keyset of nested maps. If the pattern is ambiguous (multiple matches) the first one is selected.
Attributes
RegEx-List
Mandatory
YAML Template (with default values)
type: OAuth2ResourceSelectorImpl
id: OAuth2ResourceSelectorImpl-xxxxxx
displayName:
comment:
properties:
matcherList: