Managing @mentions in Content with Pseudonymization
Configuring Pseudonymization and Cache Expiration
Follow these steps to enable pseudonymization and configure cache expiration:
1. Check Out the Configuration File
-
Open a command prompt and navigate to the
bindirectory of your WebSphere Application Server profile:
cd C:\IBM\WebSphere\AppServer\profiles\Dmgr01\bin -
Run the following script to check out the
LotusConnections-config.xmlfile:
Note: Replacewsadmin -lang jython -user <wasadmin> -password <password> execfile("connectionsConfig.py") LCConfigService.checkOutConfig("<TEMP_DIRECTORY>", AdminControl.getCell())<TEMP_DIRECTORY>with the path to a temporary working directory. Ensure the directory has write permissions.
2. Edit the Configuration File
-
Open the checked-out
LotusConnections-config.xmlfile in an XML editor. -
Add or update the following property to enable pseudonymization:
<genericProperty name="isPseudonymizationEnabled">true</genericProperty> -
(Optional) To configure cache expiration for pseudonymized data, add or update the following property:
Note: The default value is 900 seconds (15 minutes). Adjust this value as needed.<genericProperty name="pseudonymization.cache.expiration.time.secs">900</genericProperty>
3. Check In the Configuration File
-
Save the changes and return to the command prompt.
-
Run the following script to check in the updated configuration file:
LCConfigService.checkInConfig("<TEMP_DIRECTORY>", AdminControl.getCell()) -
Synchronize the nodes in the WebSphere Integrated Solutions Console to apply the changes.
4. Restart the System
Restart the WebSphere Application Server to apply the updated configuration.
How Pseudonymization Works
-
Inactive Users:
When a user is marked as inactive, their display name is replaced with a pseudonym in the format@<pseudonymized_name>. -
Cache Lookup:
The system first checks the cache for the user's pseudonymized data. If not found, it fetches the data from the database, caches it, and returns the pseudonymized name. -
Fallback:
If pseudonymization is disabled or the user is not inactive, the original display name is returned.
Notes: - If pseudonymization is disabled, the system will display the user's original name, regardless of their state. - Always back up the configuration file before making changes.