Class DelegatedOrneConfigurationDecoder

java.lang.Object
dev.orne.config.commons.DelegatedOrneConfigurationDecoder
All Implemented Interfaces:
org.apache.commons.configuration2.ConfigurationDecoder

public class DelegatedOrneConfigurationDecoder extends Object implements org.apache.commons.configuration2.ConfigurationDecoder
ConfigCryptoProvider based implementation of Apache Commons ConfigurationDecoder.
Since:
0.2
Version:
1.0, 2020-10
Author:
(w) Iker Hernaez
See Also:
  • Constructor Details

    • DelegatedOrneConfigurationDecoder

      public DelegatedOrneConfigurationDecoder(@NotNull @NotNull ConfigCryptoProvider provider)
      Creates a new instance.
      Parameters:
      provider - The cryptography transformations provider
  • Method Details

    • decode

      public String decode(@NotNull @NotNull String value)
      Specified by:
      decode in interface org.apache.commons.configuration2.ConfigurationDecoder
    • getProvider

      @NotNull protected @NotNull ConfigCryptoProvider getProvider()
      Returns the cryptography transformations provider.
      Returns:
      The cryptography transformations provider