Interface ConfigValueConverter


public interface ConfigValueConverter
A converter that converts a value of certain configuration properties in CentralDogmaConfig. Here is the list of the properties that this converter supports:
  • replication.secret
  • tls.keyCertChain
  • tls.key
  • tls.keyPassword
  • authentication.properties.keyStore.password (when SAML is used)
  • authentication.properties.keyStore.keyPasswords (when SAML is used)
Implement this interface and register it via SPI to convert a value of the properties.
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(String prefix, String value)
    Returns the converted value of the property.
    Returns the list of prefixes of the properties that this converter supports.
  • Method Details

    • supportedPrefixes

      List<String> supportedPrefixes()
      Returns the list of prefixes of the properties that this converter supports.
    • convert

      String convert(String prefix, String value)
      Returns the converted value of the property. It must not return null.