Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-1178

SMTPAccountStatusNotificationHandler: Subject should allow tokens as well + token tweaking

    Details

    • Type: Improvement
    • Status: Dev backlog
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 2.4.6
    • Fix Version/s: None
    • Component/s: core server
    • Labels:
      None

      Description

      SMTPAccountStatusNotificationHandler should allow in subject the usage of same tokens as in the message template. Furthermore tokens should allow simple options to tweak the result of the replacement.

      The attached patch accomplish this. It allows %%TOKEN

      {options}

      %% whereby options is a simple string, which gets processed by the corresponding *NotificationMessageTemplateElement. Usually it honors 'u'||'l' for converting the token replacement result into upper|lower case, allow to specify separator strings for multi-valued results, and index lists for userDNs (for more info see API docs).

        Attachments

          Activity

            People

            • Assignee:
              matthew Matthew Swift
              Reporter:
              jelmd Jens Elkner [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: