com.netscape.certsrv.password
Interface IPasswordCheck

All Known Implementing Classes:
PasswordChecker

public interface IPasswordCheck

Password quality checker interface.

Version:
$Revision: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Method Summary
 java.lang.String getReason(java.lang.String pwd)
          Returns a reason if the password doesnt meet the quality requirement.
 boolean isGoodPassword(java.lang.String pwd)
          Check if the password meets the quality requirement
 

Method Detail

isGoodPassword

boolean isGoodPassword(java.lang.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

java.lang.String getReason(java.lang.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.