owasp sensitive data prevention in java -


owasp sensitive data prevention in java

in code wrote following line , got a6-sensitive data exposure- heap inspection

private string password;

how should change code owasp sensitive data prevention in java?

still not clear tool gave warning @ line (it unlikely dependency check). can guess tool wants passwords stored in char[] rather string.

the reasoning can overwrite password blanks if no longer needed , therefore minimise chance shows in heap dumps.


Comments

Popular posts from this blog

javascript - Feed FileReader from server side files -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -