OTPBySMPPValve
Valve for delivering one-time passwords using SMPP.
Note: Need to deploy module: com.phenixidentity~phenix-smpp-client
Properties
Example Configuration
{
"name": "OTPBySMPPValve",
"config": {
"smpp_system_id":"smppclient1",
"smpp_password":"{enc}iLshlMBuAOrybFnFztw02GCgP385ptNkyNjMa7cu7Y0=",
"smpp_server_ip":"192.168.0.108",
"smpp_server_port":"2775",
"source_address":"PhenixID",
"generated_otp_name":"generated_otp",
"recipient_param_name":"othermobile",
"userid_param_name":"{{request.username}}",
"recipient_prefix":"+46",
"message_key":"valves.otp.smpp.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.smpp.message located in the lang/en/strings.xml file.
Requirements
Item set must have at least one entry.