ConfigurationDefinition#getCurrentValueObfuscated() to obfuscate the current value.
| Modifier and Type | Field and Description |
|---|---|
| public static final ConfigurationValueObfuscator | NONE
Not really an obfuscator -- simply returns the passed value directly. |
| public static final ConfigurationValueObfuscator | STANDARD
Standard obfuscator. |
| public static final ConfigurationValueObfuscator | URL_OBFUSCATOR
Obfuscates credentials from the URL |
| Modifier and Type | Method and Description |
|---|---|
| public DataType | obfuscate(DataType value)
Return an "obfuscated" version of the given value, suitable for logging or storing in non-secure environments. |
| NONE | back 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" | |
| STANDARD | back to summary |
|---|---|
| public static final ConfigurationValueObfuscator<String> STANDARD Standard obfuscator. Returns the constant "*****". | |
| URL_OBFUSCATOR | back to summary |
|---|---|
| public static final ConfigurationValueObfuscator<String> URL_OBFUSCATOR Obfuscates credentials from the URL | |
| obfuscate | back to summary |
|---|---|
| public DataType obfuscate(DataType value) Return an "obfuscated" version of the given value, suitable for logging or storing in non-secure environments. | |