Contents Index Java user authentication example Generating the UltraLite data access code pdf/preface.pdf

UltraLite User's Guide
  Developing UltraLite Applications
    Adding user authentication to your application

Sharing MobiLink and UltraLite user IDs


Although UltraLite user IDs and MobiLink user authentication mechanisms are separate, you may wish to provide your end users with a single user ID and password that provides both MobiLink and UltraLite user authentication. To share user IDs and passwords, store them in variables and use the same variable in the UltraLite user authentication calls and the synchronization call.

You can design your application so that, if passwords are reset at a MobiLink consolidated site, your application prompts for the new password.

To prompt for a new MobiLink/UltraLite password

  1. Save the user ID and password in variables.

  2. Synchronize.

  3. If synchronization fails because the user was not authenticated, prompt the user for a new password.

  4. Update the UltraLite user's password using the appropriate function or method:

  5. Update the synch_info structure and synchronize again.

For information on MobiLink user authentication, see Authenticating MobiLink Users.


Contents Index Java user authentication example Generating the UltraLite data access code pdf/preface.pdf