Older version2.7 ValvesOTPPINValidationValve

PINValidationValve

Validates a PIN code entered before or after the otp.

Could also be used when no otp is present with an exact match for the PIN.

Properties

Name Description Default value Mandatory Supports property expansion
pin_placement Where the PIN code is placed in regards of the OTP. Supported values are: before, after and exact. before No No
pin_length The length of the PIN code. 4 No No
provided_pin_param_name Parameter containing the entered PIN code (and OTP). User-Password No No
stored_pin_param_name Parameter containing the stored PIN code. Yes No
provided_otp_attribute_name Attribute parameter to store the extracted OTP after PIN validation. provided_otp No No
allow_clear_text_pin If stored clear text PIN codes should be allowed. false No No

Example Configuration

{
    "name": "PINValidationValve",
    "config": { 
        "stored_pin_param_name":"pager",
        "provided_pin_param_name":"password",
        "provided_otp_attribute_name":"otp",
        "pin_placement":"after",
        "pin_length":"6",
    }
}

Requirements

Item set must have at least one entry.