An application connection can be registered automatically, manually or anonymously.
Application templates hold default connection properties that can be assigned to an application during the connection registration process. However, these templates are configured differently depending on what type of connection registration you enable for applications. See the recommendations documented in Creating Application Connection Templates in the Mobile Application Life Cycle guide.
When a client application connects to SAP Mobile Server its application ID is used to look up a matching template. If that template allows automatic registration (the Automatic Registration Enabled property is set to true), then the security configuration in the template is used to authenticate the user and establish an identity against which the connection is registered. If the template also specifies a logical role, then user is authorized using the mapped physical role(s) of the logical role in the security configuration. When there are templates with different logical roles for the same application id and security configuration, the priority of the template determines the order of evaluation of the associated logical roles.
Device Client Type | Automatic Registration | Manual Registration | Anonymous Registration |
---|---|---|---|
Hybrid App | X | X | X |
Object API | X | X | |
OData | X | X | X |
REST API | X | X |