Project

General

Profile

Actions

Defect #1214

closed

Notification during start of validity identity was send twice

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

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Notification
Target version:
Start date:
08/15/2018
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

Notification topic: CoreModuleDescriptor.TOPIC_PASSWORD_CHANGED was send twice during identity change state to valid.

Please create two different topic for TOPIC_PASSWORD_CHANGED (processors IdentityPasswordChangeNotificationProcessor and IdentitySetPasswordProcessor) template in one case sends password during another password wasn't send (also username doesn't exists in first case).

Add some skip to IdentityPasswordChangeNotificationProcessor (eq SKIP_NOTIFICATION).

Thank you for fix this.

Actions #1

Updated by Radek Tomiška over 6 years ago

Implementation steps:
- two notification topics will exist - for change and set password. The same template will be used as default (can be changed by notification configuration).
- event with skipping notification from 'set' password will be propagated into 'change' password processing
- username parameter will be available in both notification templates .

Actions #2

Updated by Radek Tomiška over 6 years ago

  • Tracker changed from Task to Defect
Actions #3

Updated by Radek Tomiška over 6 years ago

  • Status changed from New to In Progress
Actions #4

Updated by Radek Tomiška over 6 years ago

  • % Done changed from 0 to 90

I created new topic 'core:passwordSet', add username parameter and skip duplicate notification, when password is set.

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/2efd82f54864d290061365e92fc7ca736629fcb9

Could you do a feedback, pls?

Actions #5

Updated by Radek Tomiška over 6 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Radek Tomiška to Ondřej Kopr
Actions #6

Updated by Ondřej Kopr over 6 years ago

  • Assignee changed from Ondřej Kopr to Vít Švanda
Actions #7

Updated by Vít Švanda over 6 years ago

  • Status changed from Needs feedback to Closed
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 90 to 100

I tested it and works well (only one notification is send now). Thanks for that.

Actions

Also available in: Atom PDF