...
- password-checker.properties
The following is the format of the file where each rule will be added in a separate line.
pattern,optional
pattern - Pattern to support in the password character set. Eg: @!#$%
optional - Whether this password rule set is optional or not while enforcing the password strength
The password strength is calculated based on the following algorithm:
- Password Entropy = (log (N) * L ) / log (2)
where L is the Length of the password
and N is the total Length of the all character sets to be involved.
References
(1) http://ianduffy.ie/cloudstack/CreatingAPlugin.pdf