Interface PasswordScoreService

All Known Implementing Classes:
NoOpPasswordScoreServiceImpl

public interface PasswordScoreService
Analyses passwords to provide an estimate of their strength.
  • Method Details

    • getPasswordScore

      PasswordScore getPasswordScore(PasswordCredential passwordCredential, Collection<String> userInfo)
      Analyse a non-encrypted password and determine the score of it according to some method (e.g. based on the amount of entropy in the password).
      Parameters:
      passwordCredential - The credential to analyse.
      userInfo - a collection of user-specific information to use when scoring (display name, email, etc)
      Returns:
      A score for the password strength, or UNKNOWN if the password of passwordCredential is encrypted or the implementation is unable to determine a password score (including but not limited to encountering an error).