Class PatternKeyValueProcessor
java.lang.Object
org.forgerock.openig.decoration.capture.PatternKeyValueProcessor
- All Implemented Interfaces:
KeyValueProcessor
If the key matches the expression, return a masked value otherwise return the original value.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.forgerock.openig.decoration.capture.KeyValueProcessor
KeyValueProcessor.Value -
Method Summary
Modifier and TypeMethodDescriptionprocess(String key, KeyValueProcessor.Value value) For a given key/value pair, return the processed value as an Optional.
-
Method Details
-
process
Description copied from interface:KeyValueProcessorFor a given key/value pair, return the processed value as an Optional.- Specified by:
processin interfaceKeyValueProcessor- Parameters:
key- the keyvalue- theKeyValueProcessor.Valueto process- Returns:
- an Optional with the value after processing, which if empty, means there was no value as a result.
-