Cloud Foundry UAA Server

Follow this procedure to set up the Cloud Foundry UAA server as а proxy system.

Prerequisites

  • You have a technical user with administrator permissions for Cloud Foundry UAA to read, create, and update user account information. You need Cloud Foundry UAA version 4.2 or higher.

  • (Optional) You have installed the Cloud Connector in your corporate environment and have done the initial configuration. You need to do this only if the Cloud Foundry UAA server is exposed in a private corporate network. For more information, see Cloud Connector.

Context

User Account and Authentication Service (UAA) is an OAuth2 server that you can use for centralized identity management. It owns the user accounts and authentication sources, and supports standard protocols (such as SAML, LDAP, and OpenID Connect) to provide SSO and delegated authorization to Web applications. For more information, see Cloud Foundry UAA: OverviewInformation published on non-SAP site.

Cloud Foundry UAA is responsible for the SAP ID service to create and manage platform users (platform administrators and platform developers) in Cloud Foundry.

These proxy systems consume SCIM 1.1 API provided by Cloud Foundry UAA.

Follow the steps below to create a SCIM 2.0 representation of your proxy Cloud Foundry UAA system. You can then provision on demand new users and groups back to Cloud Foundry UAA.

Procedure

  1. (Optional) Open Cloud Connector to add an access control system mapping for the Cloud Foundry UAA Server. This is needed to allow the Identity Provisioning service to access the Cloud Foundry UAA system as a back-end system on the intranet. To learn how, see: Configure Access Control (HTTP)
  2. Open your subaccount in SAP BTP cockpit (valid for OAuth authentication to the Identity Provisioning proxy system).
  3. Create a technical user with the necessary authorizations. It will later be used by the external consumer to connect to Identity Provisioning.
    • For Certificate-based authentication, follow the procedure in Manage Certificates for Inbound Connection → SAP BTP, Neo Environment

    • For OAuth authentication, proceed as follows:

      1. Go to Start of the navigation pathSecurity Next navigation step OAuth Next navigation step ClientsEnd of the navigation path and choose Register New Client.

      2. From the Subscription combo box, select <provider_subaccount>/ipsproxy.

      3. From the Authorization Grant combo box, select Client Credentials.

      4. In the Secret field, enter a password (client secret) and remember it. You will need it later, for the repository configuration in the external system.

      5. Copy/paste and save (in a notepad) the generated Client ID. You will need it later, too.

      6. From the left-side navigation, choose Start of the navigation pathSubscriptions Next navigation step Java Applications Next navigation step ipsproxyEnd of the navigation path .

      7. From the left-side navigation, choose Start of the navigation pathRoles Next navigation step IPS_PROXY_USEREnd of the navigation path.

      8. Choose Assign and enter oauth_client_<client_ID>.

        For <client_ID>, enter the one you have saved in the previous main step.

  4. Access the Identity Provisioning UI.
  5. Add Cloud Foundry UAA Server as a proxy system. For more information, see Add New Systems.
  6. Choose the Properties tab to configure the connection settings for your system.

    Mandatory Properties

    Property Name

    Description & Value

    Type

    Enter: HTTP

    URL

    Specify the URL to the Cloud Foundry UAA SCIM API.

    If not sure about the exact URL, ask your Cloud Foundry UAA administrator.

    ProxyType

    Enter: Internet

    Authentication

    Enter: BasicAuthentication

    OAuth2TokenServiceURL

    As you need to make OAuth authentication to the UAA system, enter the URL to the OAuth2 token service.

    If not sure about the exact URL, ask your Cloud Foundry UAA administrator.

    User

    Enter the OAuth client ID of the Cloud Foundry UAA technical user.

    Password

    (Credential) Enter the OAuth client secret of the technical user.

    uaa.origin

    Enter the location of your Cloud Foundry identity provider. If not sure about the value, ask your Cloud Foundry UAA administrator.

    The value of this property is a string, which will be used as the origin attribute in the system transformations.

    uaa.origin.filter.enabled

    This flag property depends on uaa.origin. Possible values: true or false

    • If set to true, the Identity Provisioning service will read only users whose identity provider is set as a value of uaa.origin.

    • If set to false, the Identity Provisioning service will read all users, regardless of their origin.

    • If set to true but the uaa.origin property is missing, the provisioning will fail.

    scim.support.patch.operation

    Use this property if you want to modify the members of a group.

    Possible values:

    • true – the Identity Provisioning service will modify the group membership via the PATCH /Groups endpoint of UAA. To learn how, see PatchInformation published on non-SAP site

    • false – the Identity Provisioning service will modify the group membership via the POST /Groups or DELETE /Groups endpoints of UAA. To learn how, see Add MemberInformation published on non-SAP site and Remove MemberInformation published on non-SAP site.

    uaa.patch.response.with.resource

    Use this property if you want to retrieve a group whose membership was modified.

    Possible values:

    • true – the Identity Provisioning service will return the modified group via the GET /Groups endpoint of UAA. To learn how, see RetrieveInformation published on non-SAP site.

    • false – no modified groups will be returned by the service.

    To learn what additional properties are relevant to this system, see List of Properties. You can use the main search, or filter properties by the Name or System Type columns.

    Exemplary destination:

    Type=HTTP

    Authentication=BasicAuthentication

    ProxyType=Internet

    URL=https://api.authentication.hana.ondemand.com

    OAuth2TokenServiceURL=https://MyCFaccount.authentication.hana.ondemand.com/oauth/token

    User=MyCFuser

    Password=************

    uaa.origin=my_UAA_location

    uaa.origin.filter.enabled=true

    scim.support.patch.operation=true

    uaa.patch.response.with.resource=false

  7. (Optional) Configure 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 Provisioning offers a default transformation for the Cloud Foundry UAA Server proxy system, whose settings are displayed under the Transformations tab after saving its initial configuration.

    You can change the default transformation mapping rules to reflect your current setup of entities in your Cloud Foundry UAA server. For more information, see:

    Manage Transformations

    Cloud Foundry UAA API: UsersInformation published on non-SAP site

    Cloud Foundry UAA API: GroupsInformation published on non-SAP site

    Default read and write transformations:

    Read Transformation

    Write Transformation

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

    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 your client ID and secret.

    • 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.