vt-middleware / passay

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

Relax PasswordGenerator API and add retry mech. #154

Closed serac closed 2 months ago

serac commented 2 months ago

Relax generate API to accept a list of Rule so that rules that are naturally part of password validation can also be specified for password generation. The common use case is IllegalSequenceRule. Check the generated password against the given ruleset and try again up to 2 times to generate a valid password.

Resolves #152