Package liquibase.configuration
Interface ConfigurationValueObfuscator<DataType>
public interface ConfigurationValueObfuscator<DataType>
Used by
ConfigurationDefinition.getCurrentValueObfuscated()
to obfuscate the current value.-
Field Summary
Modifier and TypeFieldDescriptionstatic final ConfigurationValueObfuscator<String>
Not really an obfuscator -- simply returns the passed value directly.static final ConfigurationValueObfuscator<String>
Standard obfuscator.static final ConfigurationValueObfuscator<String>
Obfuscates credentials from the URL -
Method Summary
-
Field Details
-
STANDARD
Standard obfuscator. Returns the constant "*****". -
URL_OBFUSCATOR
Obfuscates credentials from the URL -
NONE
Not really an obfuscator -- simply returns the passed value directly. Used for times the code wants to explicitly say "I have no obfuscator"
-
-
Method Details
-
obfuscate
Return an "obfuscated" version of the given value, suitable for logging or storing in non-secure environments.
-