Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
devel:documentation:adm:uniform_password [2021/04/06 12:42] – [How can be this feature enabled?] svandav | devel:documentation:adm:uniform_password [2025/10/03 07:42] (current) – fiserp | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Uniform password for new accounts ====== | ====== Uniform password for new accounts ====== | ||
+ | |||
{{tag> | {{tag> | ||
+ | |||
(since IdM version **11.0.0**) | (since IdM version **11.0.0**) | ||
Line 8: | Line 10: | ||
- Let's have the **synchronization of new identities**. This synchronization will create new **identity I**. | - Let's have the **synchronization of new identities**. This synchronization will create new **identity I**. | ||
- | - This synchronization is followed by the **synchronization of contracts**, | + | |
- | | + | - **A tree automatic role** |
- | | + | - **An attribute automatic role** |
+ | **Without the use of the uniform password feature**, after the completion of the mentioned scenario, ie. After completing the synchronization of contracts (automatic role recalculation), | ||
- | **Without the use of the uniform password feature**, after the completion of the mentioned scenario, ie. After completing the synchronization of contracts (automatic role recalculation), | + | **If you use the uniform password feature**, two accounts will also be created, but both will have the **same password**. The user will recevie only **one notification** |
- | + | ||
- | **If you use the uniform password feature**, two accounts will also be created, but both will have the **same password**. The user will recevie only **one notification** about the creation of an account on systems S1 and S2. | + | |
===== How can be this feature enabled? ===== | ===== How can be this feature enabled? ===== | ||
- | **To ensure the same password** for all new identity accounts created during synchronization, | ||
- | <note tip> | + | **To ensure the same password** |
+ | |||
+ | <note tip> | ||
This feature is active only during contract sync and for contracts where a identity state is changed: | This feature is active only during contract sync and for contracts where a identity state is changed: | ||
- | * **from** state: **Created** or **No contract** or **Left** | + | * **from** |
+ | * **to** | ||
+ | {{ .: | ||
- | * **to** state: **Valid** or **Future contract**. | + | {{ .:uniformpwd02.png? |
- | {{ : | + | <note tip> |
- | + | ||
- | {{ : | + | |
- | + | ||
- | <note tip> | + | |
===== How to change password also in IdM? ===== | ===== How to change password also in IdM? ===== | ||
- | For use same uniform password on systems and **in the IdM**, you have to enable this feature by the checkbox **" | + | For use same uniform password on systems and **in the IdM**, you have to enable this feature by the checkbox **" |
- | {{ : | + | {{ .: |
===== How this feature works? ===== | ===== How this feature works? ===== | ||
Line 43: | Line 43: | ||
There is life cycle of this feature: | There is life cycle of this feature: | ||
- | - **Contract synchronization is started** with a new transaction ID. | + | |
- | - After the synchronization of contracts, the recalculation of **HR processes is started**. | + | - After the synchronization of contracts, the recalculation of **HR processes is started**. |
- | - Newly created contracts will cause a change of identity status (for example from **Created** to **Future contract**). This change will be caught in the **IdentityInitUniformPasswordProcessor** processor, which will create a new entity state with the code `IDENTITY_UNIFORM_PASSWORD` (**uniformPasswordManager.createEntityState(identity)**). This status will be followed by the generated uniform password, which will be stored in confidential storage. | + | - Newly created contracts will cause a change of identity status (for example from **Created** |
- | - After the recalculation of HR processes is completed, the recalculation of automatic roles will start. Automatic roles will be assigned to contracts and account management will begin, starting the account creation process. | + | - After the recalculation of HR processes is completed, the recalculation of automatic roles will start. Automatic roles will be assigned to contracts and account management will begin, starting the account creation process. |
- | - As part of the account creation, it will be detected that there is an **entity state** for the given identity with the code `IDENTITY_UNIFORM_PASSWORD`. In this case, the account will **not generate a new password, but will use the password from the given entity state**. | + | - As part of the account creation, it will be detected that there is an **entity state** |
- | - Once the account is created, the `ProvisioningUniformPasswordNotificationProcessor` will ensure that the **system name** is added to the entity state. This system name will then be used in the final **notification**. | + | - Once the account is created, the `ProvisioningUniformPasswordNotificationProcessor` will ensure that the **system name** |
- | - **After the end of the whole transaction** (the end of all connected events), the LRT will be notified, ensuring the synchronization of the end. The LRT begins the **uniform password end process** (**uniformPasswordManager.endUniformPasswordProcess(transactionId)**). Ie. that it sends a **notification** (to the topic `TOPIC_UNIFORM_PASSWORD_SET`) to all identities for which an entity state has been created within the given transaction, | + | - **After the end of the whole transaction** |
- | - After all notification is sent will be **all entity states** with code `IDENTITY_UNIFORM_PASSWORD` and created in given transaction **deleted**. | + | - After all notification is sent will be **all entity states** |
===== Future improvements ===== | ===== Future improvements ===== | ||
+ | |||
<note tip > | <note tip > | ||
===== Limitations ===== | ===== Limitations ===== | ||
- | <note important> | + | <note important> |
- | **The uniform password feature works only under one transaction ID.** It means you have to use recalculation of HR processes and automatic roles directly on the contract sync (checkboxes). **Using depending tasks is not supported yet.** | + | |
- | </ | + | |
===== Main guide ===== | ===== Main guide ===== | ||
+ | |||
* [[..: | * [[..: | ||
+ | |||