In this post under Spring Core, I will show with example how to order multiple “BeanPostProcessor” interface implementations. To order multiple “BeanPostProcessor” implementations, each implementations much implement “Ordered” interface and provide order number in the interface “getOrder” method. Note: Ordering of “BeanPostProcessor” implementations only work with “@Component” annotation and not with “@Bean” annotation. For our…… Continue reading Ordering multiple BeanPostProcessor implementations example
Month: January 2026
DictionaryRule with WordListDictionary example
In this post under Passay, I will show with example what is the purpose and how to use “DictionaryRule”. DictionaryRule will check whether the user inputed password matches a word amoung a dictionary of words. If it matches, the validation fails or else passes. The dictionary of words can be implemented in many ways but…… Continue reading DictionaryRule with WordListDictionary example
RepeatCharacterRegexRule example
In this post under Passay, I will explain with example the purpose of “RepeatCharacterRegexRule” rule. This rule checks the user inputed password for repeated ASCII characters. If a particular ASCII character is repeated more than the preconfigured character count, the rule will invalidate the password. Let’s say, the pre-configured character count is 3, and below…… Continue reading RepeatCharacterRegexRule example