Package org.hawaiiframework.logging.util
Class UriQueryStringPasswordMasker
java.lang.Object
org.hawaiiframework.logging.util.UriQueryStringPasswordMasker
- All Implemented Interfaces:
PasswordMasker
Class that tries to mask a POST body or URI Query for password fields.
- Since:
- 2.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatches(MaskedPasswordBuilder builder) Check if the builder matches the pattern could be masked.
-
Constructor Details
-
UriQueryStringPasswordMasker
public UriQueryStringPasswordMasker()
-
-
Method Details
-
matches
Description copied from interface:PasswordMaskerCheck if the builder matches the pattern could be masked.- Specified by:
matchesin interfacePasswordMasker- Parameters:
builder- a "string builder" that builds a string without the password fields.- Returns:
- whether some masking has been done.
-