Synchronization Profile

The Synchronization Profile contains information for establishing a connection with the SAP Mobile Server's data synchronization channel where the server package has been deployed. The SUPConnectionProfile class manages that information. By default, this information includes the server host, port, domain name, certificate and public key that are pushed by the message channel during the registration process.

Settings are automatically provisioned from the SAP Mobile Server. The values of the settings are inherited from the application connection template used for the registration of the application connection (automatic or manual). You must make use of the connection and security settings that are automatically used by the Object API.

Typically, the application uses the settings as sent from the SAP Mobile Server to connect to the SAP Mobile Server for synchronization so that the administrator can set those at the application deployment time based on their deployment topology (for example, using Relay Server, using e2ee security, or a certificate used for the intermediary, such as a Relay Server Web server). See the Applications and Application Connection Templates topics in System Administration.

SUPConnectionProfile* sp = [SMP101SMP101DB getSynchronizationProfile];
[sp setDomainName:@"default"];

Encryption and Trusted Certificates for Data Synchronization

When using end-to-end encryption for synchronization with SAP Mobile Server, the public keys need to be encapsulated in a PEM encoded X.509 certificate and be supplied with an E2EE private key. For example:
SUPConnectionProfile *sp = [SUP101SUP101DB getSynchronizationProfile];
[sp setNetworkStreamParams:@"e2ee_public_key=publickeyCertificate;trusted_certificates=trustedCertificate"];

For details about encryption on iPhone, see iPhone and Mac OS X considerations in the Ultralite documentation.

Related tasks
Setting Up the Synchronization Profile