Class PasswordStrengthChecker


  • @ApplicationScoped
    public class PasswordStrengthChecker
    extends Object
    Utility class used to check that passwords meets a minimum strength policy. Strong passwords should be at least 8 characters long and contain at least 3 out of the following: Uppercase letters, lowercase letters, digits or special characters.
    Author:
    jarmendariz
    • Constructor Detail

      • PasswordStrengthChecker

        public PasswordStrengthChecker()
    • Method Detail

      • isStrongPassword

        public boolean isStrongPassword​(String password)
        Verifies that the given password meets the minimum strength criteria
        Parameters:
        password - The password to evaluate
        Returns:
        true if the password is strong enough, false otherwise