public interface PasswordValidator
Modifier and Type | Method and Description |
---|---|
void |
validate(String password,
org.apache.directory.api.ldap.model.entry.Entry entry)
checks if the given password meets the required quality constraints.
|
void validate(String password, org.apache.directory.api.ldap.model.entry.Entry entry) throws PasswordPolicyException
Note: the length based validations are already done before calling this method
so the implementor should concentrate on the content checking.
password
- the password valueentry
- user entryPasswordPolicyException
- if the password doesn't meet the quality contraintsCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.