Class EncryptionFilterService

java.lang.Object
io.helidon.config.encryption.EncryptionFilterService
All Implemented Interfaces:
ConfigFilter

public class EncryptionFilterService extends Object implements ConfigFilter
A Java service for EncryptionFilter.
  • Constructor Details

    • EncryptionFilterService

      public EncryptionFilterService()
  • Method Details

    • apply

      public String apply(Config.Key key, String stringValue)
      Description copied from interface: ConfigFilter
      Filters an elementary config value before it is made available to the application via the Config API.
      Specified by:
      apply in interface ConfigFilter
      Parameters:
      key - configuration key associated with the Config node
      stringValue - original value to be filtered, never null
      Returns:
      original value or filtered (changed) value, never null
    • init

      public void init(Config config)
      Description copied from interface: ConfigFilter
      Initializes the filter using the Config instance which the filter will affect once Config.Builder.build completes.

      The config system propagates any thrown exception to the application so its invocation of Config.Builder#build fails.

      Specified by:
      init in interface ConfigFilter
      Parameters:
      config - Config instance under construction