Skip to Content
-1

User Management for native Android SAP Fiori Mobile App

How to do User Management and Authentication for SAP Fiori Native Android app using SAP Cloud Platform SDK for Android

1. Add Users - So only users which are added can use this app

Which mechanism needed to achieve Authentication and User Management

----------------------------------------------------------------------------------------------------------------

Implemented a basic native Android App using SAP Cloud Platform SDK for Android

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Nov 20, 2018 at 03:18 PM

    Swapnil Lahire - Mobile Services doesn't provide user management per se. We actually delegate authentication of a user to the configured IDP. That being said, you should be able to use the "Access Control" feature to control access. One important thing to note is that this feature is designed to control access during authentication only. It's not an app level passcode, and the Access Control feature doesn't have any effect if the app is offline (where no authentication to the IDP occurs). Access Control feature is described here - https://help.sap.com/viewer/38dbd9fbb49240f3b4d954e92335e670/Cloud/en-US/ba05a601c7684475a1ccb78f1ccbc6a4.html. This specific content is Cloud Foundry specific. If you are using SAP hosting, the basic steps are as follows:

    1. Ensure the Access Control feature is assigned to your mobile application definition. I think it's there by default.

    2. Ensure "Enable Role Settings" is checked.

    3. Enter the name of the role you want to authorize. Multiple roles are separated by commas.

    4. Under SAP Cloud Platform > Security > Authorizations > Groups, create a group and specify appropriate IDP mapping information.

    5. Under SAP Cloud Platform > Services > SAP Cloud Platform Mobile Services > Configure Mobile Services, create role with a name that matches the ones you entered in step 3.

    6. Assign the Authorization Group to the role. This is the group you created in Step 4.

    7. Repeat steps 4-6 as many times as necessary based on the number of roles you entered in step 3.

    Hope this helps!

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 30 at 07:23 PM

    Got the solution using SAP Identity Provider

    Add comment
    10|10000 characters needed characters exceeded