This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Validator
Fabien Potencier ecfccc6ef0 feature #31060 [Validator] Make API endpoint for NotCompromisedPasswordValidator configurable (xelan)
This PR was squashed before being merged into the 4.3-dev branch (closes #31060).

Discussion
----------

[Validator] Make API endpoint for NotCompromisedPasswordValidator configurable

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | yes, but acceptable [1]
| Deprecations? | no [1]
| Tests pass?   | yes
| Fixed tickets | #30871, #31054
| License       | MIT
| Doc PR        | symfony/symfony-docs#... (TODO)

Makes the API endpoint for the `NotCompromisedPasswordValidator` configurable. The endpoint includes the placeholder which will be replaced with the first digits of the password hash for k-anonymity.

The endpoint can either be set via constructor injection of the validator if the component is used standalone, or via the framework configuration of symfony/framework-bundle.

[1] As discussed in #31054, the validator is not in a stable release yet, therefore the BC break is considered acceptable. No deprecation / BC layer is necessary.

Commits
-------

f6a80c214d [Validator] Make API endpoint for NotCompromisedPasswordValidator configurable
2019-05-06 13:55:51 +02:00
..
Constraints feature #31060 [Validator] Make API endpoint for NotCompromisedPasswordValidator configurable (xelan) 2019-05-06 13:55:51 +02:00
Context Merge branch '4.1' into 4.2 2019-01-16 21:31:39 +01:00
DataCollector switched array() to [] 2019-01-16 10:39:14 +01:00
DependencyInjection [Validator][DoctrineBridge][FWBundle] Automatic data validation 2019-03-21 13:05:54 +01:00
Exception catch any UnexpectedValueException on validation 2018-10-24 09:52:19 +02:00
Mapping [Validator][DoctrineBridge][FWBundle] Automatic data validation 2019-03-21 13:05:54 +01:00
Resources/translations Merge branch '4.2' 2019-05-01 10:40:02 +02:00
Test fix merge 2019-03-10 11:16:46 +01:00
Tests feature #31060 [Validator] Make API endpoint for NotCompromisedPasswordValidator configurable (xelan) 2019-05-06 13:55:51 +02:00
Util [Validator] fix LegacyTranslatorProxy 2019-04-18 14:28:43 +02:00
Validator Merge branch '3.4' into 4.2 2019-04-07 11:56:43 +02:00
Violation fixed CS 2019-01-16 21:35:37 +01:00
.gitignore
CHANGELOG.md [Validator] add new Timezone validation constraint. 2019-04-06 20:45:46 +02:00
composer.json [Intl] Simplify API 2019-04-15 13:51:51 +02:00
Constraint.php Define null return type for Constraint::getDefaultOption() 2019-04-05 14:51:27 +02:00
ConstraintValidator.php Merge branch '2.8' into 3.4 2018-07-26 10:45:46 +02:00
ConstraintValidatorFactory.php switched array() to [] 2019-01-16 10:39:14 +01:00
ConstraintValidatorFactoryInterface.php [DI] minor docblock fixes 2017-10-24 13:40:19 +02:00
ConstraintValidatorInterface.php [Validator] removed deprecated methods 2015-10-01 16:20:47 +02:00
ConstraintViolation.php Merge branch '3.4' into 4.1 2018-12-01 09:51:37 +01:00
ConstraintViolationInterface.php Merge branch '2.8' into 3.4 2018-09-02 19:11:59 +02:00
ConstraintViolationList.php switched array() to [] 2019-01-16 10:39:14 +01:00
ConstraintViolationListInterface.php switched array() to [] 2019-01-16 10:39:14 +01:00
ContainerConstraintValidatorFactory.php Fixed exception wording 2019-01-11 17:00:45 +03:00
GroupSequenceProviderInterface.php improve docblocks around group sequences 2018-09-25 10:06:01 +02:00
LICENSE update year in license files 2019-01-01 14:45:19 +01:00
ObjectInitializerInterface.php [Validator] make phpdoc of ObjectInitializerInterface interface more accurate 2018-05-02 00:50:12 +02:00
phpunit.xml.dist Bump phpunit XSD version to 5.2 2018-11-11 12:18:13 +01:00
README.md Update documentation link to the component 2016-11-25 11:12:25 +01:00
Validation.php [CS] Apply phpdoc_annotation_without_dot 2017-09-11 13:37:52 -07:00
ValidatorBuilder.php [FrameworkBundle] decorate the ValidatorBuilder's translator with LegacyTranslatorProxy 2019-04-14 20:04:40 +02:00
ValidatorBuilderInterface.php [Contracts] Add Translation\TranslatorInterface + decouple symfony/validator from symfony/translation 2018-09-03 15:19:33 +02:00

Validator Component

The Validator component provides tools to validate values following the JSR-303 Bean Validation specification.

Resources