Back

Establishing Successful Login


The Logon Service contains the following automatically-populated fields:

  • PARAM1_SOURCE
  • PARAM1_VALUE
  • PARAM2_SOURCE
  • PARAM2_VALUE
  • PARAM3_SOURCE
  • PARAM3_VALUE

These parameters are set when logon method of the Security Manager is called. Typically, PARAM1_VALUE contains the user's identifier (i.e. an email address or username) whilst PARAM2_VALUE contains their password.

These parameters can then be checked against stored credentials, such as those retrieved from a database. If the provided details are valid then the USERID field is set to mark the authentication as successful. In the event of an invalid identifier or password, the ERRORCODE and ERRORDESCRIPTION fields should be populated.