Class AiValueMasker
java.lang.Object
com.kingsrook.qqq.backend.core.actions.ai.exposure.AiValueMasker
Masks values of fields whose exposure is MASKED:
- email addresses keep their first character and their domain (j***@example.com)
- numbers, and strings of digits (and separators), keep their last 4 digits (***1234)
- other strings keep their first and last character (a***z), or are fully
masked (***) when 4 or fewer characters long.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringmask(String value, QFieldType type) Mask a value (of a field of the given type - which may be null).
-
Field Details
-
MASK
- See Also:
-
-
Constructor Details
-
AiValueMasker
public AiValueMasker()
-
-
Method Details
-
mask
Mask a value (of a field of the given type - which may be null).
-