← Back to plugin index

Cronto Message Provider

Description
Generic provider for Cronto messages.
Type name
GenericCrontoMessageProvider
Class
com.airlock.iam.flow.shared.application.configuration.message.GenericCrontoMessageProviderConfig
May be used by
License-Tags
Cronto
Properties
Resource Key (resourceKey)
Description
Resource key to select the localized template to display the data. The localized template can contain variables (e.g. ${town}) and the same formatting options (including shrinking of values to fit to limited size) as are available for Transaction Approval messages.
Attributes
String
Mandatory
Example
self-service.user-data-edit.approval.cronto
Example
password-reset.factors.cronto.message
Push Title Resource Key (pushTitleResourceKey)
Description
Resource key to select the localized template to display the push title. The localized template can contain variables (e.g. ${username}).
Attributes
String
Optional
Default value
cronto.push.login.title
Example
cronto.push.login.title
Push Subject Resource Key (pushSubjectResourceKey)
Description
Resource key to select the localized template to display the push subject. The localized template can contain variables (e.g. ${username}).
Attributes
String
Optional
Default value
cronto.push.login.subject
Example
cronto.push.login.subject
Value Providers (valueProviders)
Description
List of value map providers that are used to replace the variables in the localized template. The values providers are called in the configured order and their values are added to a map. Later providers can overwrite values from earlier providers. If no value providers are configured, the localized template should not contain any variables, since all of them would be replaced by empty strings. If available, the "Login ID" is provided under the key " login-id".
Attributes
Plugin-List
Optional
Assignable plugins
Omit Empty Value Lines (omitEmptyValueLines)
Description
If enabled, lines with an empty or blank "value" part (right-hand side) after variable replacing are omitted from the message. Example: if the message contains a line Town=${town} and the "town" variable is empty, then the whole line will be omitted.
Attributes
Boolean
Optional
Default value
false
Cronto Handler (crontoHandler)
Description
Cronto Handler to determine if a message is small enough to be encoded as a cryptogram. This is used for "shrinking" the growable message until it fits into a cryptogram. If it cannot be shrunk enough, an exception is thrown.
Attributes
Plugin-Link
Mandatory
Assignable plugins
YAML Template (with default values)

type: GenericCrontoMessageProvider
id: GenericCrontoMessageProvider-xxxxxx
displayName: 
comment: 
properties:
  crontoHandler:
  omitEmptyValueLines: false
  pushSubjectResourceKey: cronto.push.login.subject
  pushTitleResourceKey: cronto.push.login.title
  resourceKey:
  valueProviders: