LegacyTokenValidationValve
Valve for validating and converting a legacy HOTP/TOTP token.
This valve is used together with TokenValidationValve.
Properties
Example Configuration
{
"name": "LegacyTokenValidationValve",
"config": {
"username_param_name":"{{request.User-Name}}",
"stored_token_attribute":"carLicense",
"provided_otp_param_name":"{{request.User-Password}}",
"convert_token": "true",
"remove_hex_prefix": "true",
"hotp_lookahead": "20",
"otp_length": "6"
}
}
The value for parameter provided_otp_param_name is the provided otp sent in the request.
The value for username_param_name is the userid sent in the request.
Most common values for the username_param_name are User-Name for RADIUS and username for HTTP.
Requirements
Item set must have at least one entry.