Out-of-the-box templates for events like 'Reset Password', 'Create User Self Servic', 'User Deleted' are available and custom templates can be defined and used to send notifications out of OIM.
OIM provides a notification framework based on events, notification templates and template resolver. They are defined as follows:
- Events are defined in a XML file and must be loaded into MDS database in order to be available for use.
- Notification templates are defined through OIM advance administration console. The template contains the text and the substitution 'variables' that will be substituted by the data provided by the template resolver. Templates support HTML and text based emails and multiple languages.
- Template resolver is a Java class that is responsible for providing the data to be used to parse the template, it must be deployed as an OIM plugin. The data provided by the resolver class will be used by OIM in the template substitution variables.
- Define the Event that will be used for triggering the notification
- Define the Template to be formatted and sent
- Create the Template Resolver class
- Trigger the event from the relevant spot in OIM
This post explain each of the steps above and give some tips on how to create the notifications.