Project

General

Profile

Actions

Defect #1924

closed

Task PasswordExpirationWarningTaskExecutor was sended day after

Added by Ondřej Kopr over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Password
Target version:
Start date:
11/08/2019
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

The long running task PasswordExpirationWarningTaskExecutor has parameter daysBefore. When we set this parameter to 1 and run this task the lrt will process all items that has expiration today not tomorrow.

The combination with LRT PasswordExpiredTaskExecutor is user notified that password will be expired in one day and the task PasswordExpiredTaskExecutor will notified that password is already expired.

I simulated this with set password to this validity:

select p.id, p.valid_from, p.valid_till from idm_password p where p.identity_id = (select i.id from idm_identity i where i.username = 'passwordExpiration');

Then I run LRT PasswordExpirationWarningTaskExecutor (daysBefore=1) and PasswordExpiredTaskExecutor. Both LRT process same password and send notification:

Affected version:


Files

pass01.png (17.5 KB) pass01.png Ondřej Kopr, 11/08/2019 09:54 AM
pass02.png (36.8 KB) pass02.png Ondřej Kopr, 11/08/2019 09:55 AM
pass03.png (33.2 KB) pass03.png Ondřej Kopr, 11/08/2019 09:56 AM
Actions

Also available in: Atom PDF