org.cloudfoundry.identity.uaa.password
Class ZxcvbnPasswordValidator
java.lang.Object
org.cloudfoundry.identity.uaa.password.ZxcvbnPasswordValidator
- All Implemented Interfaces:
- PasswordValidator
public class ZxcvbnPasswordValidator
- extends Object
- implements PasswordValidator
A PasswordValidator that uses the Zxcvbn Scala library to validate passwords
- Author:
- vidya
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZxcvbnPasswordValidator
public ZxcvbnPasswordValidator()
setScoreCalculator
public void setScoreCalculator(PasswordScoreCalculator scoreCalculator)
validate
public void validate(String password,
ScimUser user)
- Description copied from interface:
PasswordValidator
- Validates the password as to whether it is valid for a specific user.
- Specified by:
validate in interface PasswordValidator
- Parameters:
password - the trial passworduser - the user data to whom the password applies
Copyright © 2013. All rights reserved.