[
https://issues.apache.org/jira/browse/LANG-1755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17889300#comment-17889300
]
Mukul Bindal edited comment on LANG-1755 at 10/14/24 6:25 PM:
--------------------------------------------------------------
You are right. But for debugging purpose, we need to know what is variable name
and whether any value is actually present there or not. Also, it is not like we
are trying to hide this data from hackers, they can read it from database
directly :) It's just a part of masking data.
Like you mentioned, people can read it from other channels, I agree. We have to
mask from all places, like during serialisation, I don't need to hide it, but
when printing in log files, I definitely need to make changes in serialisation
libraries like jackson
was (Author: JIRAUSER307376):
You are right. But for debugging purpose, we need to know what is variable name
and whether any value is actually present there or not.
> New Annotation to support masking of PII data
> ---------------------------------------------
>
> Key: LANG-1755
> URL: https://issues.apache.org/jira/browse/LANG-1755
> Project: Commons Lang
> Issue Type: New Feature
> Components: lang.*
> Reporter: Mukul Bindal
> Priority: Minor
> Original Estimate: 2,016h
> Remaining Estimate: 2,016h
>
> I want to add a new feature in Apache commons lang.
> Create a new Annotation support such that a POJO class annotated with
> annotation @PIIContent will mask the instance variables annotated with
> @PIIValue in the toString() method of the annotated class.
> This feature is useful nowadays as PII masking is required in logging.
> I want to keep it in Apache commons lang library as it deals with String data.
> <More description to be added. I will add a proper description with examples
> and use case.>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)