Enabling PIN and user code padding - DMP intrusion panel 4.2.1

DMP Intrusion Panel Extension Guide 4.2.1

Applies to
DMP intrusion panel 4.2.1
Last updated
2021-08-02
Content type
Guides > Plugin and extension guides
Language
English (United States)
Product
DMP intrusion panel
Version
4.2

Before you can use PIN padding or user code padding, you must enable one or both of the functions in Security Center by creating a Javascript configuration file.

What you should know

  • PIN padding or user code padding determines the minimum length for PINs or user codes on the panel, and adds zeroes to the beginnings of values that are below that threshold. For example, if you set PIN padding to five digits, the PIN "123" is pushed to the panel as "00123". A PIN that is longer than the minimum will be pushed in its entirety.
  • The configurations in the DmpExtraConfiguration.json file affect all panels connected to the server.

Procedure

  1. On the machine that is running the Intrusion Manager, use a text editor to create a DmpExtraConfiguration.json file.
  2. (For PIN padding) Add the following parameters to the file:
    • isUsingPinPadding set to True
    • numberOfPinDigits set to the minimum number of digits you want to have.

    The following sample shows the code for the .JSON file.

    {
        "isUsingPinPadding": true,
        "numberOfPinDigits": 5
    }
    NOTE: The PIN padding feature pads PIN credentials before pushing them to the panel, and strips the padding when pulling PINs from the panel.
  3. (For user code padding) Add the following parameters to the file:
    • isUsingUserCodePadding set to True
    • numberOfUserCodeDigits set to the minimum number of digits you want to have.

    The following sample shows the code for the .JSON file.

    {
        "isUsingUserCodePadding": true,
        "numberOfUserCodeDigits": 5
    }
    NOTE: User code padding pads the credential being pushed in the user code field, regardless of its type (PIN or card), but does not strip the padding when pulling from the panel.
  4. Save the DmpExtraConfiguration.json file and copy it to the Security Center ConfigurationFiles folder of your Intrusion Manager server.