Use online authentication with the server.
Authenticate the user for data synchronization by calling the generated database API onlineLogin method.
ConnectionProfile syncProfile = SMP101DB.getSynchronizationProfile();
syncProfile.setUserName("user");
syncProfile.setPassword("password");
SMP101DB.onlineLogin();