Package io.helidon.config.encryption
Class EncryptionFilterService
- java.lang.Object
-
- io.helidon.config.encryption.EncryptionFilterService
-
- All Implemented Interfaces:
ConfigFilter
public class EncryptionFilterService extends Object implements ConfigFilter
A Java service forEncryptionFilter.
-
-
Field Summary
-
Fields inherited from interface io.helidon.config.spi.ConfigFilter
PRIORITY
-
-
Constructor Summary
Constructors Constructor Description EncryptionFilterService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringapply(Config.Key key, String stringValue)Filters an elementary config value before it is made available to the application via theConfigAPI.voidinit(Config config)Initializes the filter using theConfiginstance which the filter will affect onceConfig.Builder.buildcompletes.
-
-
-
Method Detail
-
apply
public String apply(Config.Key key, String stringValue)
Description copied from interface:ConfigFilterFilters an elementary config value before it is made available to the application via theConfigAPI.- Specified by:
applyin interfaceConfigFilter- Parameters:
key- configurationkeyassociated with theConfignodestringValue- original value to be filtered, nevernull- Returns:
- original value or filtered (changed) value, never
null
-
init
public void init(Config config)
Description copied from interface:ConfigFilterInitializes the filter using theConfiginstance which the filter will affect onceConfig.Builder.buildcompletes.The config system propagates any thrown exception to the application so its invocation of
Config.Builder#buildfails.- Specified by:
initin interfaceConfigFilter- Parameters:
config-Configinstance under construction
-
-