mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
28.00.2007 16e9aa11e63515dbd5ee373ffe32863abddcc82a
refs
author neil_a_wilson <neil_a_wilson@localhost>
Tuesday, August 28, 2007 04:00 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Tuesday, August 28, 2007 04:00 +0200
commit16e9aa11e63515dbd5ee373ffe32863abddcc82a
tree 2ff4202d955f2a4d9bcfbf14965cb991614806a3 tree | zip | gz
parent 008d2f9599ce8b72814f76cc2fba7a2c5145c457 view | diff
Add an SMTP account status notification handler, which can be configured to
send e-mail messages whenever an account status notification is generated. The
message can be sent to the end user impacted by the notification (based on an
attribute in the user's entry) and/or a fixed set of recipients.

The messages that will be generated are created from template files, which can
include tokens that will be replced with things like:

- The name of the notification type
- The notification message
- The DN of the target user's entry
- Attribute values from the target user's entry
- Values of account status notification properties, which may vary based on the
type of notification

This change also includes a fix for a problem that could allow password
expiration warning messages to be sent to a client even if the bind was not
successful.


OpenDS Issue Number: 581
21 files added
5 files modified
1671 ■■■■■ changed files
opends/resource/config/config.ldif 35 ●●●●● diff | view | raw | blame | history
opends/resource/messages/account-disabled.template 4 ●●●● diff | view | raw | blame | history
opends/resource/messages/account-enabled.template 4 ●●●● diff | view | raw | blame | history
opends/resource/messages/account-expired.template 4 ●●●● diff | view | raw | blame | history
opends/resource/messages/account-idle-locked.template 5 ●●●●● diff | view | raw | blame | history
opends/resource/messages/account-permanently-locked.template 5 ●●●●● diff | view | raw | blame | history
opends/resource/messages/account-reset-locked.template 5 ●●●●● diff | view | raw | blame | history
opends/resource/messages/account-temporarily-locked.template 6 ●●●●● diff | view | raw | blame | history
opends/resource/messages/account-unlocked.template 3 ●●●●● diff | view | raw | blame | history
opends/resource/messages/password-changed.template 5 ●●●●● diff | view | raw | blame | history
opends/resource/messages/password-expired.template 3 ●●●●● diff | view | raw | blame | history
opends/resource/messages/password-expiring.template 7 ●●●●● diff | view | raw | blame | history
opends/resource/messages/password-reset.template 3 ●●●●● diff | view | raw | blame | history
opends/resource/schema/02-config.ldif 22 ●●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/SMTPAccountStatusNotificationHandlerConfiguration.xml 209 ●●●●● diff | view | raw | blame | history
opends/src/messages/messages/extension.properties 45 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/NotificationMessageNotificationMessageTemplateElement.java 62 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/NotificationMessageTemplateElement.java 54 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/NotificationPropertyNotificationMessageTemplateElement.java 78 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/NotificationTypeNotificationMessageTemplateElement.java 62 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/SMTPAccountStatusNotificationHandler.java 792 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/TextNotificationMessageTemplateElement.java 70 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/UserAttributeNotificationMessageTemplateElement.java 90 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/extensions/UserDNNotificationMessageTemplateElement.java 62 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/AccountStatusNotification.java 22 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendWorkflowElement.java 14 ●●●● diff | view | raw | blame | history