org.cloudfoundry.identity.uaa.scim.validate
Interface PasswordValidator
- All Known Implementing Classes:
- DefaultPasswordValidator, NullPasswordValidator, ZxcvbnPasswordValidator
public interface PasswordValidator
Validates password values when creating users or changing passwords.
Should implement the password policy defined for the system.
User interfaces should obviously also implement the same policy.
- Author:
- Luke Taylor
|
Method Summary |
void |
validate(String password,
ScimUser user)
Validates the password as to whether it is valid for a specific user. |
validate
void validate(String password,
ScimUser user)
throws InvalidPasswordException
- Validates the password as to whether it is valid for a specific user.
- Parameters:
password - the trial passworduser - the user data to whom the password applies
- Throws:
InvalidPasswordException
Copyright © 2013. All rights reserved.