Creating SSO connections in SAP Mobile BI
SAP Mobile BI does not allow SSO connections to be created manually.
Following are the options for SSO connections
- You can directly import these connections from the Configuration Server (MOBIServer)
- Administrator can configure these connections at following location
- Copy the server.properties from default folder in to custom folder (<WebAppsROOT>\MOBIServer\WEB-INF\config\custom)
- Then modify the server.properties file in custom folder
- Choose your new connection identifier, say we choose ‘mysso‘. Add that to mobi.connections
- Provide the connection properties and save the server.properties file
-
Now deploy the MOBIServer again after changes mentioned above.Once done, you can execute the following URL to check if the properties are configured correctly or not. [http://<server>:<port>/MOBIServer/MobiConfigurationServlet?RequestType=ServerList ]
- Administrator can configure these connections at following location
- You can use SAP BI Links to create connections. Following are two sample connection links
- BOE Connection Via SUP [sapbi://addconnection?ConnectionType=BOESUPConnection&SUP_Farm_ID=abc.xyz.farm&Sec_Config=SUPSSO&server_url=sup.abc.com&isSSO=YES&connection_name=ABC%20SUP%20SSO&SSOType=SSO2COOKIE&Application_ID=MobiApp&SUP_Port=80]
- BOE Connection Via SMP REST [sapbi://addconnection/?ConnectionType=BOESMPConnection&isSSO=YES&server_url=http://10.10.10.10:8000&connection_name=SSO_SUP_SAP_REST&proxyConnection=MobiApp&SSOType=SSO2COOKIE&Application_ID=MobiApp&Sec_Config=SAPSSOSECADMIN]
- Direct BOE Connection [sapbi://addconnection?ConnectionType=BOEConnection&authType=secEnterprise&isSSO=YES&connection_name=ABC&cms=@cmscluster&isCertificateRequired=CertificateMandatory&SSOType=X509Certificate&server_url=https://abc.com/SSO_MOBILE/]
- You can use MDM tools to publish connections if devices are IOS7 and above
- For devices with iOS 7 or higher, Apple provides the “Managed App Configuration” functionality. This functionality allows a Mobile Device Management (MDM) server to push down a configuration dictionary into the managed app’s NSUserDefaults for the purpose of remotely configuring settings
- You can configure a single predefined connection or multiple predefined connections in the application by specifying values for the conn.list.(n) property on the MDM server, where ‘n’ is the array index starting with a value of 1. Each array item is of the type “String” and the value of each item corresponds to a connection URL.
- For example, you can specify a predefined connection URL for a BOE server connection with the syntax shown below
conn.list.1=<specify the sap bi link for SSO connection here>
- You can use SDK to generate build that already has connection created.
Useful Links
- Managing connections using SAP BI Links in Mobile BI
- Creating connections using Import Option in SAP Mobile BI
PS: Once you have created SSO connection on your device, you can always share that connection with other users. Choose that connection, click share and that will generate the link for you
HI Ashutosh,
Nice article but i like to have more in detail how it will done
Thanks, Vishal.G
If you have specific questions that you have in mind, you can post them here and will try to respond on them.
Regards, Ashutosh
can u post the step how to perform this as i didnt understand the setting in the post may be im not good at the thing you have mention
Thanks, Vishal.G
Hey Vishal,
I would suggest you have a look at the administrators guide for more details
SAP BusinessObjects Mobile for iOS – SAP Help Portal Page
This would provide you more context on Mobile Server and Mobi App.
Hope that Helps.
Regards, Ashutosh
Hi Ashutosh,
I can import an sapbi link successfully, if it is shared per email.
But I have problems to configure the link in SAP Afaria in the managed app configuration. I am able add the parameter conn.list.1, but the value with the whole sapbi-link can not be saved. The occurring error is not described. Do you have an example/screenshot for that?
Best regards, Daniel
Hi Daniel,
What is the error that is happening? You say its not described - do you mean that you see the error but you could not find it documented anywhere. Is that the case?
Regards,
Ashutosh
Hi Ashutosh,
attached you can find the screenshot of the error in Afaria:
Best regards,
Daniel
Hi Daniel,
I would suggest that you post this in SAP Afaria forum, the error is related to that tool, and since it says just error I can not help much here.
Regards
Ashutosh