OTPByUCPFileValve
Valve for writing one-time passwords to file, based on template.
Properties
Example Configuration
{ "name": "OTPByUCPFileValve", "config": { "drop_folder":"/data/ucpfolder", "generated_otp_name":"generated_otp", "recipient_param_name":"othermobile", "userid_param_name":"{{request.username}}",
"file_prefix":"ucp",
"file_suffix":".txt", "recipient_prefix":"+46" } }
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.
Requirements
Item set must have at least one entry.