Configuring the Email mapping plug-in
About this task
The Email-mapping plug-in is included with IBM Content Navigator. To use it, you must update the list of usernames and email addresses, and configure the plug-in.
The Email-mapping plug-in provides a service that returns an email address that is associated with an IBM Content Navigator user. The email address that the service is returning is the address that the email is being sent from.
If you enable a desktop and repository for Box Share, a mapping of user IDs and email addresses is required. This action displays the user’s email address and uses it to send the link to the document. The email address might be provided in one of the following ways:
- For a IBM Content Cortex repository that is configured with email addresses, IBM Content Navigator uses the email address from IBM Content Cortex.
- For a IBM Content Cortex repository that is not configured with email addresses, or for an IBM Content Manager repository, you can create a custom list of user IDs and email addresses, and configure the Email-mapping plug-in.
- If you do not use the email addresses from IBM Content Cortex or from
the Email-mapping plug-in, you can set the configuration option in the desktop. This action allows
users to enter an email address when a document is shared.Important: The email address that is entered by a user is not verified and poses a security risk.
Before you begin Determine the user IDs and email addresses that you want to set up for the Box Share action. Create a custom list of user IDs and email addresses.
com.ibm.ecm.extension.emailMapping.EmailRequestFilter class.Procedure
Follow these steps to configure the Email-mapping plug-in:
What to do next
Ensure that Box Share is enabled for your desktop and any repositories. For the desktop configuration settings, select a Box repository for shared files, and select whether to allow users to update the email address when they share a document.
The results of the configuration settings at run time are explained in the following table:
| Do not allow update | User ID included or not included | Results for the Box Share action |
|---|---|---|
| Yes. Allow users to update the email address when they share a document. | Yes. The user ID is included in the file emailMapping.json. | The email address is displayed, and the user can change it to a different email address. |
| Yes. Allow users to update the email address when they share a document. | No. The user ID is not included in the file emailMapping.json. | The email address is blank, and the user can enter an email address. |
| No. Do not allow users to update the email address when they share a document. | Yes. The user ID is included in the file emailMapping.json. | The email address is displayed, but the user cannot change it to a different email address. |
| No. Do not allow users to update the email address when they share a document. | No. The user ID is not included in the file emailMapping.json. | An error is returned. The administrator needs to update the file emailMapping.json, rebuild the JAR file, and reload the plug-in. |