Package com.atlassian.crowd.embedded.api
Interface PasswordScoreService
- All Known Implementing Classes:
NoOpPasswordScoreServiceImpl
public interface PasswordScoreService
Analyses passwords to provide an estimate of their strength.
-
Method Summary
Modifier and TypeMethodDescriptiongetPasswordScore(PasswordCredential passwordCredential, Collection<String> userInfo) Analyse a non-encrypted password and determine the score of it according to some method (e.g.
-
Method Details
-
getPasswordScore
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
passwordCredentialis encrypted or the implementation is unable to determine a password score (including but not limited to encountering an error).
-