Obfuscators

The properties described in Properties can be reused with a different prefix to auto-configure other obfuscators with the following steps:

For an example, see ObfuscatorAutoConfiguration.java.

Nesting obfuscators

It's possible to nest ObfuscatorProperties in another auto-configuration properties class. Make sure that the root properties class of the structure containing the ObfuscatorProperties instances is annotated with @Validated. This will ensure that the ObfuscatorProperties instances are in a consistent state.