This lesson assumes you have completed all preceding lessons. See Lesson 1: Creating a Java or .NET class for custom authentication (server-side).
UltraLite comes with a sample Windows client that automatically invokes the dbmlsync utility when the user initiates synchronization. In this lesson, you run the application against the CustDB consolidated database you started in the previous lesson.
Start the sample application.
Click Start » Programs » SQL Anywhere 12 » UltraLite » Windows Sample Application.
Enter an invalid employee ID and synchronize.
In this application, the employee ID is also the MobiLink user name. If the user name does not begin with 128, your logic causes synchronization to fail. Enter a value of 50 for the employee ID and click OK.
An error stating that the authenticate_user script returned 4000 appears in the MobiLink server messages window.
A SQLCODE -103 synchronization error indicating an invalid user ID or password appears in the UltraLite CustDB Demo window. See Le mot de passe ou l'ID utilisateur est incorrect.
Proceed to Cleaning up.
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1|