public class UaaPasswordPolicyValidator extends java.lang.Object implements PasswordValidator
This product is licensed to you under the Apache License, Version 2.0 (the "License"). You may not use this product except in compliance with the License.
This product includes a number of subcomponents with separate copyright notices and license terms. Your use of these subcomponents is subject to the terms and conditions of the subcomponent's license, as noted in the LICENSE file. *****************************************************************************
| Constructor and Description |
|---|
UaaPasswordPolicyValidator(org.cloudfoundry.identity.uaa.config.PasswordPolicy globalDefaultPolicy,
org.cloudfoundry.identity.uaa.zone.IdentityProviderProvisioning provisioning) |
| Modifier and Type | Method and Description |
|---|---|
org.passay.PasswordValidator |
getPasswordValidator(org.cloudfoundry.identity.uaa.config.PasswordPolicy policy) |
void |
validate(java.lang.String password)
Validates the password as to whether it is valid for a specific user.
|
public UaaPasswordPolicyValidator(org.cloudfoundry.identity.uaa.config.PasswordPolicy globalDefaultPolicy,
org.cloudfoundry.identity.uaa.zone.IdentityProviderProvisioning provisioning)
public void validate(java.lang.String password)
throws InvalidPasswordException
PasswordValidatorvalidate in interface PasswordValidatorpassword - the trial passwordInvalidPasswordExceptionpublic org.passay.PasswordValidator getPasswordValidator(org.cloudfoundry.identity.uaa.config.PasswordPolicy policy)