Class NoOpPasswordScoreServiceImpl
java.lang.Object
com.atlassian.crowd.embedded.core.NoOpPasswordScoreServiceImpl
- All Implemented Interfaces:
PasswordScoreService
A convenience implementation of password score service that always returns
PasswordScore.VERY_STRONG, intended for use by products which do not intend to
implement PasswordScoreService in a meaningful way.-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
NoOpPasswordScoreServiceImpl
public NoOpPasswordScoreServiceImpl()
-
-
Method Details
-
getPasswordScore
public PasswordScore getPasswordScore(PasswordCredential passwordCredential, Collection<String> userInfo) Description copied from interface:PasswordScoreServiceAnalyse 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).- Specified by:
getPasswordScorein interfacePasswordScoreService- Parameters:
passwordCredential- The credential to analyse.userInfo- a collection of user-specific information to use when scoring (display name, email, etc)- Returns:
PasswordScore.VERY_STRONG, always.
-