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
-
On the machine that is running the Intrusion Manager, use a text editor to
create a DmpExtraConfiguration.json file.
-
(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.
-
(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.
-
Save the
DmpExtraConfiguration.json
file and copy it to the
Security Center
ConfigurationFiles folder of your Intrusion Manager
server.