Skip to Content
Author's profile photo Midhun VP

2 Steps to Manage Mobile App Registration using Client Hub

Client Hub is a mobile application that comes with SAP Mobile Platform SDK. When we have multiple enterprise applications in the device, Client Hub app helps to share common credentials between the apps. Hence the user doesn’t need to enter same credentials multiple times to login to multiple apps that improves user experience.

Client Hub app has to be installed in the device along with other business apps – when the user enter the credentials for the first time in an enterprise application, it will be stored in the Client Hub (data-vault). And all other apps access these credentials for registration with SAP Mobile Platform, ie. other applications will not prompt the user to enter credentials for login.

Only condition is, all applications including Client Hub has to be signed with same certificate. In this blog I am explaining how to do it.

IGWREST_15 Mar. 30 01.14.jpg

Step 1 – Signing apps with same certificate

The source code of the Client Hub app can be found in the SMP 3 SDK installation path..SAP\MobileSDK3\ClientHub. Here I am using Android as an example. Client hub app is available for iOS too. Client Hub app works only with MAF Logon –  It supports both Odata and Kapsel apps.

Import the Client Hub project to Android SDK. Then Right click on the project > Export.

IGWREST_7 Mar. 29 11.13.jpg

Click Next until you reach Keystore selection screen. Choose “Create new keystore”, and provide keystore name and password. Click Next and enter the details as given below.

IGWREST_9 Mar. 29 11.16.jpg IGWREST_9 Mar. 29 11.17.jpg

Click Next, then click on Finish. It creates Client Hub apk file and keystore.

IGWREST_15 Mar. 30 01.52.jpg

In the business application create file inside res/raw folder and provide connection details as given below.


Inside Manifest.xml file include permission for clienthub access –  <uses-permission android:name=””/>

Finally, right click on the business application and choose Export. Instead of choosing “Create new keystore” choose “Use existing keystore” and browse the keystore created in the previous step. Repeat this step for all the business apps, and create the apk files.

IGWREST_15 Mar. 30 01.51.jpg

Step 2 – Installation and Testing

Install all the enterprise apps including Client Hub app in a device and test.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.