Configuring Local Identity Directory in Proxy Scenario

Configure the identity directory as a proxy system in the Identity Provisioning UI.

Context

You can use the identity directory as a SCIM 2.0 based proxy connector. Before exposing it to an external system, you should first populate it with users and groups. To learn how to read users and groups, and then provision them to the identity directory, see: Configuring Local Identity Directory in Target-Source Scenario

The Identity Provisioning proxy application supports a limited SCIM implementation based on the SCIM QueryInformation published on non-SAP site standard. That means, you can use 'eq' filters by one SCIM attribute, and it's only applicable to users. If your system supports native read filtering, the Identity Provisioning proxy application will translate the SCIM filter to the native system filter, and will try to combine it along with the relevant read filter property, if such is present.

If the Identity Provisioning finds:

  • 0 users that meet the filtering criteria, the service returns HTTP status code 200 (OK) with 'totalResults' set to a value of 0.

  • 1 user that meets the filtering criteria, the service returns HTTP status code 200 (OK), and includes the result in the body of the response.

  • More than 1 users that meet the filtering criteria, the service returns HTTP status code 400 (Bad Request) with detail error type 'tooMany'.

  • In the Read Transformation, there must be mapping between the attribute names in "sourcePath" and "targetPath" (see the example mapping below, where targetPath matches the left side of the used 'eq' filter).

  • Fully qualified names (<schema>:<attribute>) are not supported. For example:

    GET .../Users/urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:employee Number eq '<attribute>'

  • If your system supports multivalued e-mails (that is $.emails[0].value, $.emails[1].value, etc.), the search criteria will always resolve only one user e-mail. For SCIM-based systems, this is the first user e-mail ($.emails[0].value).

Procedure

  1. Sign in to SAP Cloud Identity Services administration console and create a technical user with the necessary authorizations. It will later be used by the external consumer to connect to Identity Provisioning.

    If you already have a technical user, skip this step.

    • For Certificate-based authentication, follow the procedure in Manage Certificates for Inbound Connection → SAP Cloud Identity Infrastructure

    • For Basic authentication, navigate to Start of the navigation pathUsers & Authorizations Next navigation step AdministratorsEnd of the navigation path and add an admin user of type System. Configure a client ID and secret for this user and enable the Access Proxy System API permission.

  2. Navigate to Start of the navigation pathIdentity Provisioning Next navigation step Proxy SystemsEnd of the navigation path.
  3. Add Local Identity Directory as a proxy system.

    For more information, see Add New Systems.

    It's configured by default, so you don't need to enter any properties or credentials. However, if you want the identity directory to read only particular users or groups, open the Properties tab and enter the following properties:

    Name

    Value

    idds.group.filter

    Filters groups by display name. You can set a single display name or multiple ones as filter criteria. If you enter multiple display names (using OR operator), the filter will search for any of them.

    For example:

    • displayName eq "FellowshipTeam1"

    • displayName eq "FellowshipTeam1" or displayName eq "JuniorTest3"

    idds.user.filter

    Filters users by particular attributes. You can set a single attribute or multiple ones as search criteria.

    For example:

    • userName eq "Sebastian"

    • Using OR: userName eq "Sebastian" or addresses.country eq "France"

    • Using AND: userName eq "Sebastian" and addresses.country eq "France"

    • Using brackets ( ): userName eq "Sebastian" or (addresses.country eq "France" and emails.value eq "sebastian123@mail.com")

    • Using enterprise attributes: urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:department eq "Dev" and urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:organization eq "Technology"

  4. Optional: Modify the transformations.

    Transformations are used to map the user attributes from the data model of the source system to the data model of the target system, and the other way around. The identity directory offers default read and write transformations, whose settings are displayed in the Identity Provisioning UI after creating and saving the proxy system.

    You can change the default transformation mapping rules to reflect your current setup of entities in your identity directory. For more information, see Manage Transformations.

    Default transformation of Local Identity Directory

    Read Transformation

    Write Transformation

  5. Connect the external consumer to Identity Provisioning with the technical user you have created in step 1.

    If the external consumer system is SAP Identity Management, you can export the newly created proxy system as a SCIM repository from Identity Provisioning and import it in SAP Identity Management. This will create a SCIM repository in SAP Identity Management where most of the repository constants will be automatically filled in. You need to provide the technical user credentials that you have set up in step 2 and the SCIM assignment method as described below:

    • For AUTH_USER and AUTH_PASSWORD, enter the user ID and password of the Identity Authentication technical user for which you have set permission Access Proxy System API.

    • For the SCIM_ASSIGNMENT_METHOD constant, make sure the value is PUT.

Next Steps

When a proxy system is connected to an external backend system (in the case of SAP Identity Management this means the exported CSV file is imported into the Identity Management Admin UI and a repository is configured), you can start managing the users and groups into this external system. Usually, the first operation is the initial load of the existing entities into your external system. When this load has finished, changes in the external system, such as creating new users or updating existing ones, can trigger CRUD requests back to the proxy system.

To see an example with SAP Identity Management, see Hybrid Scenario: SAP Identity Management → sections Next Steps and Future Identity Lifecycle.