The driver class must implement interface provided by HxGN EAM: com.dstm.mp.businessprocess.base.logon.handlers.MfaAuthentication with a single method
boolean authenticate (com.dstm.mp.businessprocess.LoginRequest request)
-
HxGN EAM runtime provides the driver class three pieces of information for the authentication of the additional factor, the user name, the tenant ID and the additional authentication code
-
The user name is the corresponding value of the USR_CODE field of table R5USERS and its value can be obtained in the implementing method by calling request.getUserId()
-
The tenant ID can be obtained by calling request.getTenantId()
-
The authentication code can be obtained by calling request.getMfaPassword()
-
-
If the authentication of the additional factor is successful, the method returns true; otherwise, it returns false. Any exception thrown from the implementing method is considered as failure.
-
To develop the implementation, HxGN EAM library JAR, mp_subsystem.jar, needs to be on the class path. The location to obtain this JAR is the same as where the customer’s implementation Jar is dropped.