@Service(value=PasswordConstraint.class) public class DuplicatesConstraint extends BaseConstraint implements PasswordConstraint
| Constructor and Description |
|---|
DuplicatesConstraint() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<java.lang.String> |
passRule(java.lang.String password) |
public java.util.Optional<java.lang.String> passRule(java.lang.String password)
passRule in interface PasswordConstraintpassword - The password to check against the implemented constraint.Optional.empty() for passed and Optional.of(Object) with fail message as valueCopyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.