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

SQL Anywhere 12.0.0 » MobiLink - Server Administration » Using MobiLink server technology » Central administration of remote databases » Working with MobiLink Agents


Agent authentication

The Agent acts as a MobiLink synchronization client when synchronizing the agent database. The synchronization scripts to support the Agent use the ml_ra_agent_12 script version. The Agent synchronization scripts are automatically installed when you do a MobiLink setup for a consolidated database. However, no authentication scripts are provided for the Agent. See Setting up a consolidated database.

At least one of the following must be defined in order to have a secure system:

This can be done one of the following ways:

  • Call the ml_add_connection_script stored procedure. For example,

    ml_add_connection_script( 'ml_ra_agent_12', 'authenticate_user', '<DEFINE YOUR AUTHENTICATION LOGIC>' ) 
  • Use Connection Scripts in Sybase Central. Note that you can use the ml_ra_agent_12 script version or ml_global. It is likely that you will want to have the same authentication for both application data synchronization and for the Agent. By using ml_global, you can just define one set of authentication scripts for both. This is the recommended way to do authentication. See ml_global script version.