- All Known Implementing Classes:
MpEncryptionFilter
public interface MpConfigFilter
Filtering support for MicroProfile config implementation.
The current specification does not have a way to intercept values as they are
delivered.
As we want to support filtering capabilities (such as for configuration encryption),
this is a temporary solution (or permanent if the MP spec does not add any similar feature).
-
Method Summary
-
Method Details
-
init
Initialize this filter from configuration. The config instance provided only has filters with higher priority than this filter.- Parameters:
config
- configuration to set this filter up.
-
apply
Apply this filter on the provided value.- Parameters:
propertyName
- name of the property (its key)value
- the current value of the property as retrieved from the config source, or from previous filters- Returns:
- value as processed by this filter
-