moved the UserPassword validator from the security bundle to the security component to make it reusable outside the full-stack framework

This commit is contained in:
Fabien Potencier 2012-06-10 21:58:31 +02:00
parent ea8ccf65ce
commit 0995b1f28b
4 changed files with 5 additions and 3 deletions

View File

@ -40,7 +40,7 @@
<parameter key="security.http_utils.class">Symfony\Component\Security\Http\HttpUtils</parameter>
<parameter key="security.validator.user_password.class">Symfony\Bundle\SecurityBundle\Validator\Constraint\UserPasswordValidator</parameter>
<parameter key="security.validator.user_password.class">Symfony\Component\Security\Core\Validator\Constraint\UserPasswordValidator</parameter>
</parameters>
<services>

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace Symfony\Bundle\SecurityBundle\Validator\Constraint;
namespace Symfony\Component\Security\Core\Validator\Constraint;
use Symfony\Component\Validator\Constraint;

View File

@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
namespace Symfony\Bundle\SecurityBundle\Validator\Constraint;
namespace Symfony\Component\Security\Core\Validator\Constraint;
use Symfony\Component\Security\Core\User\UserInterface;
use Symfony\Component\Security\Core\SecurityContextInterface;

View File

@ -24,6 +24,7 @@
"require-dev": {
"symfony/form": "2.1.*",
"symfony/routing": "2.1.*",
"symfony/validator": "2.1.*",
"doctrine/common": ">=2.2,<2.4-dev",
"doctrine/dbal": ">=2.2,<2.4-dev"
},
@ -31,6 +32,7 @@
"symfony/class-loader": "self.version",
"symfony/finder": "self.version",
"symfony/form": "self.version",
"symfony/validator": "self.version",
"symfony/routing": "self.version",
"doctrine/dbal": "to use the built-in ACL implementation"
},