Module io.helidon.config.encryption
Package io.helidon.config.encryption
Class EncryptionFilterService
java.lang.Object
io.helidon.config.encryption.EncryptionFilterService
- All Implemented Interfaces:
ConfigFilter
A Java service for
EncryptionFilter.-
Field Summary
Fields inherited from interface io.helidon.config.spi.ConfigFilter
PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(Config.Key key, String stringValue) Filters an elementary config value before it is made available to the application via theConfigAPI.voidInitializes the filter using theConfiginstance which the filter will affect onceConfig.Builder.buildcompletes.
-
Constructor Details
-
EncryptionFilterService
public EncryptionFilterService()
-
-
Method Details
-
apply
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
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
-