vt-middleware / passay

Password policy enforcement for Java.
http://www.passay.org
Other
281 stars 64 forks source link

Add support for enhanced error messages. #110

Closed dfish3r closed 4 years ago

dfish3r commented 4 years ago

Update AllowedCharacterRule and IllegalCharacterRule to support per-character error messaging.

Fixes #109 .

dfish3r commented 4 years ago

Note that changes to PropertiesMessageResolver are potentially breaking to anyone who has implemented custom error code keys that include dot (.)

serac commented 4 years ago

I think folks tend to paint in the existing lines when extending. Since the default error code keys don't contain dots, I would think consumers would naturally avoid them. That's to say I think the impact will be negligible to zero.