public class SimpleDataMasking extends Object implements DataMasking
password, passwd and pwd
as ****.
To add new attributes for masking rules see addAttrName(String)| Constructor and Description |
|---|
SimpleDataMasking() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addAttrName(String nameAttribute)
Set new attribute name to masking your value by log API.
|
Object |
mask(String attributeName,
Object data)
Evaluate if value of attributeName must be masked.
|
public SimpleDataMasking()
public static void addAttrName(String nameAttribute)
nameAttribute - attribute name to maskpublic Object mask(String attributeName, Object data)
DataMaskingmask in interface DataMaskingattributeName - name of attributedata - value of attributeCopyright © 2012–2020 jkniv, copyleft code. All rights reserved.