Project

General

Profile

Actions

Task #443

closed

Task for check password expiration

Added by Ondřej Kopr almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Scheduler
Target version:
Start date:
05/24/2017
Due date:
% Done:

100%

Estimated time:
Owner:

Description

Schedule task for check IdmPassword expiration and send notification before password expired. (14,7,3 days?) configurable via application properties? or text field in task?

+

Schedule task for set flag? expired to idmPassword.

Actions #1

Updated by Radek Tomiška almost 7 years ago

  • Category set to Scheduler
  • Status changed from New to Needs feedback
  • Assignee changed from Radek Tomiška to Ondřej Kopr
  • % Done changed from 0 to 70

I've implemented two LRT, description is here:
https://proj.bcvsolutions.eu/ngidm/doku.php?id=en:navrh:scheduler#implemented_task_types

Tests are included too.
PasswordExpiredTaskExecutor could be used as example to another task (e.g. in acc module), where something else is need to be done after password expiration (e.g. disable account, disable identity ...). Or PasswordExpiredTaskExecutor could be improved to event publishing (processors way).

Could you please make a feedback?

Actions #2

Updated by Ondřej Kopr almost 7 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Ondřej Kopr to Radek Tomiška
  • % Done changed from 70 to 100

Test both long running tasks (PasswordExpirationWarningTaskExecutor, PasswordExpiredTaskExecutor)
Password expiration set with your query (thanks for send):

update idm_password set valid_till = now() - interval '1' day where identity_id = (SELECT id from idm_identity where username = '004')

Also thanks for explain HH queue.

Actions #3

Updated by Radek Tomiška almost 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF