I am printing to log, a command to write data to a file at the info level. This command also has user's password parameter. for that i have replaced all the occurences of pwd with ***. PFB the code:
logger.info(WRITE_COMMAND.replaceAll(_pwd, "***"));
When i scan this code for SSAP violations, its giving me a privacy violation.
Can you please suggest a solution to handle the same?