Skip to content

Overview

Using the Provisioning on Hire2Retire you can provision and deprovision users on Keycloak.

Keycloak Application on Hire2Retire

Figure 1. Keycloak Application on Hire2Retire

Define Role Definition

Provisioning Type

Define Role(s)

You can assign a Role to any user based on their AD attributes. You can define complex conditions using AND and OR logic. You can also use the Group memberships in AD to define Roles. The Roles are used to assign specific privileges in Keycloak. For Example: In Figure 2, the rules are defined on the basis of JobTitle(Equals). If the rules are passed then only user(s) will get provisioned. If no rule passes and the user(s) is present in Keycloak then deprovisioning is performed for the user(s).

Keycloak ScimManager Table1

Figure 2. Provision users with following rule definitions

Map the rules defined in first table with the Roles provided by Keycloak. You can also select default roles in Keycloak. For if and only if 'admin' Role is passed and it is not mapped in the second table then the selected default Role will be assigned to the user(s).

Process All Employees

All user(s) will be provisioned on Keycloak.

Keycloak Process All Employees

Figure 3. Process All Employees

Provision User

You can decide to either provision or deprovision using Provisioning.

You can provision one or more user(s) according to the requirement. User(s) can be created, updated or reactivated in provisioning operation. You can deprovision one or more user(s) according to the requirement. User(s) can be terminated in deprovisioning operation.

Keycloak Form Operations

Figure 4. Configure lifecycle operations for Keycloak

Map attributes on Keycloak

You can select the attributes provided by Keycloak that you want to populate. You can map values from AD/AzureAD/Hybrid to populate these attributes. You can also use Hire2Retire's powerful data transformation capabilities using Excel Style functions.

Keycloak Form Attributes

Figure 5. Select Keycloak attributes