Top Description Fields Methods
liquibase.configuration

public Interface ConfigurationValueObfuscator<DataType>

Imports
liquibase.database.jvm.JdbcConnection

Used by ConfigurationDefinition#getCurrentValueObfuscated() to obfuscate the current value.

Field Summary

Modifier and TypeField and Description
public static final ConfigurationValueObfuscator<String>
NONE

Not really an obfuscator -- simply returns the passed value directly.

public static final ConfigurationValueObfuscator<String>
STANDARD

Standard obfuscator.

public static final ConfigurationValueObfuscator<String>
URL_OBFUSCATOR

Obfuscates credentials from the URL

Method Summary

Modifier and TypeMethod and Description
public DataType
obfuscate(DataType value)

Return an "obfuscated" version of the given value, suitable for logging or storing in non-secure environments.

Field Detail

NONEback to summary
public static final ConfigurationValueObfuscator<String> NONE

Not really an obfuscator -- simply returns the passed value directly. Used for times the code wants to explicitly say "I have no obfuscator"

STANDARDback to summary
public static final ConfigurationValueObfuscator<String> STANDARD

Standard obfuscator. Returns the constant "*****".

URL_OBFUSCATORback to summary
public static final ConfigurationValueObfuscator<String> URL_OBFUSCATOR

Obfuscates credentials from the URL

Method Detail

obfuscateback to summary
public DataType obfuscate(DataType value)

Return an "obfuscated" version of the given value, suitable for logging or storing in non-secure environments.