Configuração de atributos pseudonimizados

O DTD datasource.dtd é adaptado para pseudonimização da seguinte forma:

<!ELEMENT datasource (description*, realmtable?, dataextraction?, data, archive?, fragments?, mapping?, systemconfig?, tables?, eventspec?, attributetransformation?, eventattributetypes?, attributesettings?, edaeventtype?, pseudonymization?)>

<!ELEMENT eventattribute (#PCDATA)>
<!ELEMENT pseudonymization (eventattribute+)>

O elemento opcional pseudonymization tem de conter pelo menos um subelemento eventattribute. Um elemento eventattribute contém o nome do atributo do sistema de origem a ser pseudonimizado, expresso como o tipo de atributo que aparece no evento do arquivo de saída.

Exemplo

O exemplo a seguir mostra a pseudonimização de BSEG-ERNAME e LAST_USER.

<event>

              <attribute type="BSEG-ERNAME">Test User</attribute>

              <attribute type="CARDNO">308342023837750</attribute>

              <attribute type="CONTACT_REASON">Bonus not received</attribute>

              <attribute type="FIELD_2">Phone</attribute>

              <attribute type="LAST_USER">Second user</attribute>

              <attribute type="SR_CLOSED_DATE">11.06.2003 18:07:52</attribute>

</event>

<pseudonymization>

<eventattribute>BSEG-ERNAME</eventattribute>

<eventattribute>LAST_USER</eventattribute>

</pseudonymization>

<event>

              <attribute type="BSEG-ERNAME">WReKoRCNHVdJF6FZ8oLqFGg==</attribute>

              <attribute type="CARDNO">308342023837750</attribute>

              <attribute type="CONTACT_REASON">Bonus not received</attribute>

              <attribute type="FIELD_2">Phone</attribute>

              <attribute type="LAST_USER">+XMLp1ip51d++gfVWvA+bQ==</attribute>

              <attribute type="SR_CLOSED_DATE">11.06.2003 18:07:52</attribute>

</event>