Interface IPasswordCheck

All Known Implementing Classes:
PasswordChecker

public interface IPasswordCheck
Password quality checker interface.

Version:
$Revision$, $Date$
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a reason if the password doesnt meet the quality requirement.
    boolean
    Check if the password meets the quality requirement
  • Method Details

    • isGoodPassword

      boolean isGoodPassword(String pwd)
      Check if the password meets the quality requirement
      Parameters:
      pwd - the given password
      Returns:
      true if the password meets the quality requirement; otherwise false
    • getReason

      String getReason(String pwd)
      Returns a reason if the password doesnt meet the quality requirement.
      Parameters:
      pwd - the given password
      Returns:
      a reason if the password quality requirement is not met.