The Forget-me tool is shipped with WSO2 SP by default in the
<SP_HOME>/wso2/tools/identity-anonymization-tool-x.x.x directory. If required, you can change the default location of the configurations of this tool or make changes to the default configurations. You can also run the Forget-me tool in the standalone mode.
Changing the default configurations location
You can change the default location of the tool configurations if desired. You may want to do this if you are working with a multi-product environment where you want to manage configurations in a single location for ease of use. Note that this is optional.
To change the default configurations location for the embedded tool, do the following:
forgetme.shfile found inside the
The location path is the value given after
-dwithin the following line. Modify the value after
-dto change the location.
The default location path is
Changing the default configurations of the tool
All configurations related to this tool can be found inside the
<SP_HOME>/wso2/tools/identity-anonymization-tool/conf directory. The default configurations are set up as follows:
- Read Logs:
- Read Datasource:
- Default datasources:
- Log file name regex: The regex patterns defined in all the files in the
<SP_HOME>/wso2/tools/identity-anonymization-tool/conf/log-configdirectory are considered.
For information on changing these configurations, see Configuring the config.json file in the Product Administration Guide.
Running the Forget-me tool in the standalone mode
This tool can run standalone and therefore cater to multiple products. This means that if you are using multiple WSO2 products and need to delete the user's identity from all products at once, you can do so by running the tool in standalone mode.
For information on how to build and run the Forget-Me tool, see Removing References to Deleted User Identities in WSO2 Products in the WSO2 Administration Guide.