Marking entity fields for obfuscation
An entity that implements the Obfuscatable delegate must also have fields tagged for obfuscation. For each field that contains personal data, add the tag PersonalData. The value of the tag determines the kind of obfuscation that will be applied to the field's contents. In the base configuration, two values are defined in the typelist PersonalDataTagValue.tti:
- ObfuscateDefault
- The field's contents are replaced with the
default value or
nullif no default value is defined. - ObfuscateUnique
- The field's contents are replaced as you define.
In the base configuration, all the entities that implement the Obfuscator interface have fields tagged PersonalData. Additionally, many of the fields tagged as PersonalData are in .etx files to enable you to modify them. For example, the Name field of Contact is defined in Contact.etx as follows:
<column-override
name="Name">
<tag
name="PersonalData"
value="ObfuscateUnique"/>
</column-override>
In addition, the following delegates have fields tagged PersonalData. An entity that implements one of these delegates does not have to implement Obfuscator and Obfuscatable unless you want the entity to support obfuscation.
- AddressBookConvertible.etx
- GlobalAddress.etx
- GlobalAddress.Global.etx
- GlobalContactName.etx
- GlobalContactName.Global.etx
- GlobalPersonName.etx
- GlobalPersonName.Global.etx
See also
- For a list of entities that implement Obfuscator, see Implementing the Obfuscator interface in an entity
