Tag Archives: Mask Confidential Information

Log4j2: How to Mask Logs Personal/Confidential/SPI Information


You can configure Log4j2 LogEventConverter plugin for masking personal/confidential/SPI data. For example here we are masking credit card number, SSN and CVV of log statements. Continue reading

Advertisements
Posted in Java, Java Logging, LOG4J2 | Tagged , , , , , , , , , , , , , , | 3 Comments

How to MASK XML Confidential/Personal Data : JAVA


Here you will see all steps to mask confidential/ information like credit card, CVV, Exp date,  SSN, ppassword etc. So that it will print in mask form as ****** so that anauthrize use will not misuse of others information. Continue reading

Posted in Java, JSON, Mask | Tagged , , , , , , , , , , , , , | 2 Comments

How to Mask JSON Confidential/Personal Information in logs :JAVA


Here you will see all steps to mask confidential/ information like credit card, CVV, Exp date,  SSN, password etc. So that it will print in mask form as ****** so that unauthorize use will not misuse of others information.

Here using Google GSON and GsonBuilder converting Java object to JSON and again converting JSON to Java Object.

By using Java refelection api’s replacing SPI fields data with *******. Continue reading

Posted in Example, GSON, Java, Mask | Tagged , , , , , , , , , , , , | 3 Comments

How to mask JAVA Object confidential/personal information in logs while Printing


Here you will see all steps to mask confidential/ information like credit card, CVV, Exp date,  SSN, password etc. So that it will print in mask form as ****** so that unauthorize use will not misuse of others information. Main … Continue reading

Posted in Java, Mask, Security | Tagged , , , , , , , , , , , , | 3 Comments