Change password
The Change password function is available via menu item 'Settings' in the User menu of the Top bar (see Working with the graphical user interface) if the Role of session has permission ('Administration/Accounts/Profile/Change password').
►NOTE◄ Technically, this function is also available for user accounts with LDAP authentication settings. However, the Change password function always applies to the password managed in the Lobster Data Platform / Orchestration user account, which is not relevant for LDAP logins. The password used by 'LDAP users', is neither accepted as an Old password to authenticate the password changes nor changed by the function. To prevent confusion in the LDAP context, the permission to Change password could be denied for roles used exclusively by LDAP users.
The password of the currently logged in user is successfully changed if all fields of the following dialogue are filled with valid content:
The entry for Old password must match the current password to authenticate the change.
The entries for New password and Confirm password must be filled with matching strings.
The password change becomes effective immediately if clicking Change password produces the following message:
►NOTE◄ The dialogue does not validate whether the New password is identical to the Old password.
►INPORTANT◄ As with changing an expired password (see Users), the passwordTouched and passwordChanged variables can be evaluated to determine whether the dialogue was open and the password was actually changed. However, these are only available in the context of the ‘Change’ event for the user account and not in the context of event processing after the dialogue has been called up.
The dialogue may be closed by clicking the 'X' symbol at the top right corner, regardless of whether the password was changed or not.
Special use case: Automated access to ‘Change password’
Under certain circumstances, the User of session should be offered a ‘Change password’ dialogue in the context of an automated process.
Within Event handling or Client workflows, this enables the Open view (Action), which is also available in a Client workflow behaviour (see Behaviours) in a form.
Behaviours for forms can also access the Open view (Form designer) action.
In both cases, changing the password for the current user can be called up via one of the following views:
de.lobster.scm.base.security.user::User|settings → ‘Settings’ dialogue (see screenshot above)
After opening the dialogue, the user may have to activate the ‘Change password’ tab if the ‘Profile picture’ tab appears active by default.
de.lobster.scm.base.security.user::User|changePassword → ‘Change password’ dialogue (see screenshot below)
The ‘Change password’ dialogue only shows the Form elements of the ‘Change password’ tab from the Settings dialogue (see screenshot above).
►NOTE◄ Regardless of which dialogue is used, clicking on the Change password Button only saves the change if the old password has been entered correctly and the new password has been confirmed correctly and the required permission (Administration/Accounts/Profile/Change password) is available.