Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 (Français) » MobiLink - Client Administration » Introduction to MobiLink clients » MobiLink users » Custom user authentication

 

Java and .NET user authentication

User authentication is a natural use of Java and .NET synchronization logic because Java and .NET classes allow you to reach out to other sources of user names and passwords used in your computing environment, such as application servers.

A simple sample is included in the directory samples-dir\MobiLink\JavaAuthentication. The sample code in samples-dir\MobiLink\JavaAuthentication\CustEmpScripts.java implements a simple user authentication system. On the first synchronization, a MobiLink user name is added to the login_added table. On subsequent synchronizations, a row is added to the login_audit table. In this sample, there is no test before adding a user ID to the login_added table. (For information about samples-dir, see Samples directory.)

For a .NET sample that explains user authentication, see .NET synchronization example.