com.atlassian.crowd.directory
Class PasswordScoreConstraint
java.lang.Object
com.atlassian.crowd.directory.PasswordScoreConstraint
- All Implemented Interfaces:
- PasswordConstraint
public class PasswordScoreConstraint
- extends Object
- implements PasswordConstraint
PasswordScoreConstraint
public PasswordScoreConstraint(PasswordScore passwordScore,
PasswordScoreService passwordScoreService)
- Parameters:
passwordScore - a minimum calculated score the password must matchpasswordScoreService - A service to calculate the score of a PasswordCredential
validate
public boolean validate(ValidatePasswordRequest request)
- Specified by:
validate in interface PasswordConstraint
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2016 Atlassian. All Rights Reserved.