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: Overview.
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
(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)
Open your subaccount in SAP BTP cockpit (valid for OAuth authentication to the Identity Provisioning proxy system).
Create a technical user with the necessary authorizations. It will later be used by the external consumer to connect to Identity Provisioning.
Go to SecurityOAuthClients and choose Register New Client.
From the Subscription combo box, select <provider_subaccount>/ipsproxy.
From the Authorization Grant combo box, select Client Credentials.
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.
Copy/paste and save (in a notepad) the generated Client ID. You will need it later, too.
From the left-side navigation, choose SubscriptionsJava Applicationsipsproxy .
From the left-side navigation, choose RolesIPS_PROXY_USER.
Choose Assign and enter oauth_client_<client_ID>.
For <client_ID>, enter the one you have saved in the previous main step.
Add Cloud Foundry UAA Server as a proxy system. For more information, see Add New Systems.
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 Patch
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 Member and Remove Member.
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 Retrieve.
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.
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:
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.