Added passsword policy parameters
Following parameters are added as compile time option to
control the complexitiy of the password.
- Minimum upper case characters
- Minimum lower case characters
- Minimum digits
NOTE: Add of all should be less than or equal to
minimum password length.
Tested:
1) Sum of all was greater then min password length
2) Negative value test.
3) Password strictness was getting imposed as the given configuration
Signed-off-by: Ratan Gupta <ratankgupta31@gmail.com>
2 files changed