3.5 Implementing a custom 2FA mechanism
- You will need to write your own Java class to implement your own custom factor of authentication.
- The class must be registered in the table
DIGX_AU_AUTH_TYPE_MST
. Choose a custom ID. - The custom class must implement the
interface.
com.ofss.digx.framework.security.authentication.provider.I2FactorAuthenticationProvider
- To configure your custom authenticator as an additional option
available to the admin during the 2FA configuration of transactions, set the
custom ID used in Step 2 in the table
DIGX_FW_CONFIG_VAR_B
. - The configuration already seen in the above image suggests that an admin will have the option of setting one of OTP, Soft Token and Security Questions as an additional factor of authentication when configuring 2FA for user segments Retail, Corporate and Administrator.
- The
PROP_ID
that the system must look up in this table(DIGX_FW_CONFIG_VAR_B)
is maintained in the tableDIGX_FW_CONFIG_ALL_B
against thePROP_ID SUPPORTED_AUTH_TYPE
. - If
${_PROPERTY_}
is the value maintained against retailuser.SUPPORTED_AUTH_TYPE
in the tableDIGX_FW_CONFIG_ALL_B
, then for retail users the application will look up the tableDIGX_FW_CONFIG_VAR_B where PROP_ID = _PROPERTY_
to check what options are available to the admin.
Parent topic: Guidance for Implementation Teams