← Back to plugin index

Template-based String Provider

Description
String value provider to create a string from a template.
Type name
TemplateStringValueProvider
Class
com.airlock.iam.flow.shared.application.configuration.valueprovider.TemplateStringValueProviderConfig
May be used by
Properties
Value Encoders (valueEncoders)
Description

Encode the values before they are inserted into the template. The encoders are applied in the configured order.

For a more flexible setup, use the plugins Transforming Value Map Provider and Transforming String Value Provider together with encoders.

Attributes
Plugin-List
Optional
Assignable plugins
Template (template)
Description

Template from which the provided string is created. Placeholders (${value-selector}) are replaced by the corresponding value selected from the "Value Providers". The templating mechanism also allows for date formatting, e.g. ${my-date,date,yyyy-MM-dd}.

Security warning: If you use this plugin to build a technical document (JSON, XML, etc.), make sure the value encoders contain a matching encoder in the last position to prevent it from breaking out of the defined structures.

Attributes
String
Mandatory
Multi-line-text
Example
username=${user-id};
Example
{"username": "${user-id}"}
YAML Template (with default values)

type: TemplateStringValueProvider
id: TemplateStringValueProvider-xxxxxx
displayName: 
comment: 
properties:
  template:
  valueEncoders:
  valueMapProviders: