Properties

The following properties can be defined in your application.properties file, in your application.yml file, or as command line switches.

Default obfuscator

Obfuscator.all

obfuscation.default-obfuscator.mode=ALL # Must be explicitly set to ALL
obfuscation.default-obfuscator.mask-char=* # The mask character

Obfuscator.none

obfuscation.default-obfuscator.mode=NONE # Must be explicitly set to NONE

Obfuscator.fixedLength

obfuscation.default-obfuscator.fixed-length= # The fixed length to use
obfuscation.default-obfuscator.mask-char=* # The mask character

Obfuscator.fixedValue

obfuscation.default-obfuscator.fixed-value= # The fixed value to use

Obfuscator.portion

# At least one of the first 5 properties must be set
obfuscation.default-obfuscator.keep-at-start=0 # The number of characters at the start that created obfuscators will skip when obfuscating
obfuscation.default-obfuscator.keep-at-end=0 # The number of characters at the end that created obfuscators will skip when obfuscating
obfuscation.default-obfuscator.at-least-from-start=0 # The minimum number of characters from the start that need to be obfuscated
obfuscation.default-obfuscator.at-least-from-end=0 # The minimum number of characters from the end that need to be obfuscated
obfuscation.default-obfuscator.fixed-total-length=-1 # The fixed total length to use for obfuscated contents
obfuscation.default-obfuscator.mask-char=* # The mask character

ObfuscatorProvider

obfuscation.default-obfuscator.provider-class= # The ObfuscatorProvider class to use