Namespace: OpenEdge.Logging.Format
Class
AnonymizedTokenFormat
Parent classes:
Inherits: Progress.Lang.Object
Implements: OpenEdge.Logging.Filter.ILoggerFilter

Copyright (c) 2018-2019 by Progress Software Corporation. All rights reserved.
File:AnonymizedTokenFormat
Purpose:Anonymises (hashes) specific token values
Author(s):pjudge
Created:2018-11-16
Notes:- Default property values are
HashAlgorithm:SHA-256
AnonymizeTokens:CP.QUID,CP.UID
- The anonymised output follows the C crypt format as per https://en.wikipedia.org/wiki/Crypt_(C)
This takes the form of
$<id>$<salt>$<b64-hash>
The <id> value represents the hashing algorithm, and is one of
md5:1
sha-1:sha1
sha-256:5
sha-512:6
The <salt> value is a b64-encoded UUID generated by the AVM




Method Summary
Options Name Purpose
ExecuteFilter (LogEvent) /** Performs implementation-specific filtering for a logger type @param LogEvent The current log event to filter */

Constructor Summary
Options Name Purpose
AnonymizedTokenFormat () /* Default constructor */
AnonymizedTokenFormat (HashAlgorithmEnum) /* Constructor @param HashAlgorithmEnum The algorithm to use to has token data */
AnonymizedTokenFormat (HashAlgorithmEnum, character) /* Constructor @param HashAlgorithmEnum The algorithm to use to has token data @param character A CSV list of token to anonymise */

Property Summary
Options Name Purpose
CHARACTER AnonymizeTokens
OpenEdge.Core.HashAlgorithmEnum HashAlgorithm


Method Detail
Top

ExecuteFilter (LogEvent)

Purpose: Performs implementation-specific filtering for a logger type
Parameters:
pEvent OpenEdge.Logging.LogEvent


Constructor Detail
Top

AnonymizedTokenFormat ()

/* Default constructor
Top

AnonymizedTokenFormat (HashAlgorithmEnum)

/* Constructor
Parameters:
pAlgorithm OpenEdge.Core.HashAlgorithmEnum
Top

AnonymizedTokenFormat (HashAlgorithmEnum, character)

/* Constructor
Parameters:
pAlgorithm OpenEdge.Core.HashAlgorithmEnum
pTokens CHARACTER


Property Detail
Top

CHARACTER AnonymizeTokens

Returns CHARACTER
Top

OpenEdge.Core.HashAlgorithmEnum HashAlgorithm

Returns OpenEdge.Core.HashAlgorithmEnum


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15