OTPByNetsizeValve
Valve for delivering one-time passwords by SMS via Netsize.
Properties
Example Configuration
{ "name": "OTPByNetsizeValve", "config": { "generated_otp_name":"generated_otp", "recipient_param_name":"othermobile", "userid_param_name":"{{request.username}}", "alpha_originating_address":"PhenixID", "gateway_username":"phenixid", "gateway_password":"{enc}Lsd28p9AMU1oAjwHgHprVdWmGteLZ6XYxY/AxkBusXg=", "use_flash":"false", "recipient_prefix":"+46"
,
"message_key":"valves.otp.netsize.message",
"dynamic_values" : "
} }$$USERNAME
={{item.givenName}}"
In the example above the value for attribute othermobile has been picked up earlier in the flow.
The value for userid_param_name has been picked up from the request. Most common values are {{request.User-Name}} for RADIUS and {{request.username}} for HTTP.
The message sent to user is fetched from the entry: valves.otp.netsize.message located in the lang/en/strings.xml file.
Requirements
Item set must have at least one entry.