public interface ConfigFilter
A filter which can be added to the
ConfigResolver
.
The filter can be used to decrypt config values or prepare
values for logging.
Registering a ConfigFilter
can either be done via the
java.util.ServiceLoader
pattern or by manually adding it via
ConfigResolver.addConfigFilter(ConfigFilter)
.
Modifier and Type | Method and Description |
---|---|
String |
filterValue(String key,
String value)
Filter the given configuration value
|
String |
filterValueForLog(String key,
String value)
Filter the given configuration value for usage in logs.
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.