Package org.hawaiiframework.logging.util
Class PasswordMaskerUtil
java.lang.Object
org.hawaiiframework.logging.util.PasswordMaskerUtil
Class the mask passwords in a string, so log files will not contain plain text (or encrypted)
passwords.
- Since:
- 2.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmaskPasswordsIn(String input) Mask the password with***in theinput.
-
Constructor Details
-
PasswordMaskerUtil
The constructor.- Parameters:
fieldsToMask- The list of fields to mask.
-
-
Method Details
-
maskPasswordsIn
Mask the password with***in theinput.- Parameters:
input- the input to mask passwords in.- Returns:
- The masked result.
-