Class EncryptionFilterService

All Implemented Interfaces:

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
      key - configuration key associated with the Config node
      stringValue - original value to be filtered, never null
      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 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
      config - Config instance under construction