Contents Index User authentication example Configuring and managing database storage

UltraLite Static Java User's Guide
  Adding Non Data Access Features to UltraLite Applications
    Adding user authentication to your application

Sharing MobiLink and UltraLite user IDs


Although UltraLite 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 or 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 UlSynchOptions object and synchronize again.

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


Contents Index User authentication example Configuring and managing database storage