fallbackSecretHashPeppers property

List<String> fallbackSecretHashPeppers
final

Optional fallback peppers for validating passwords and verification codes created with previous peppers.

When rotating peppers, add old peppers to this list to allow existing passwords to continue working. The system will try secretHashPepper first, then each fallback pepper in order until a match is found.

This is optional and defaults to an empty list.

Implementation

final List<String> fallbackSecretHashPeppers;