diff --git a/UPGRADE-3.0.md b/UPGRADE-3.0.md
index a30a318599..880870a1cf 100644
--- a/UPGRADE-3.0.md
+++ b/UPGRADE-3.0.md
@@ -328,6 +328,10 @@ UPGRADE FROM 2.x to 3.0
$route->setSchemes('https');
```
+### Security
+
+ * The `Resources/` directory was moved to `Core/Resources/`
+
### Translator
* The `Translator::setFallbackLocale()` method has been removed in favor of
diff --git a/composer.json b/composer.json
index a3098c8585..dafa32ef0d 100644
--- a/composer.json
+++ b/composer.json
@@ -49,6 +49,9 @@
"symfony/proxy-manager-bridge": "self.version",
"symfony/routing": "self.version",
"symfony/security": "self.version",
+ "symfony/security-acl": "self.version",
+ "symfony/security-core": "self.version",
+ "symfony/security-http": "self.version",
"symfony/security-bundle": "self.version",
"symfony/serializer": "self.version",
"symfony/stopwatch": "self.version",
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index 823b03f7c0..66323e43d1 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -21,6 +21,7 @@
./src/Symfony/Bridge/*/Tests/./src/Symfony/Component/*/Tests/
+ ./src/Symfony/Component/*/*/Tests/./src/Symfony/Bundle/*/Tests/
@@ -37,6 +38,7 @@
./src/Symfony/Bridge/*/Tests./src/Symfony/Component/*/Tests
+ ./src/Symfony/Component/*/*/Tests./src/Symfony/Bundle/*/Tests./src/Symfony/Bundle/*/Resources./src/Symfony/Component/*/Resources
diff --git a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
index fb85ecb869..fae8714118 100644
--- a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
+++ b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
@@ -566,7 +566,7 @@ class FrameworkExtension extends Extension
if (class_exists('Symfony\Component\Security\Core\Exception\AuthenticationException')) {
$r = new \ReflectionClass('Symfony\Component\Security\Core\Exception\AuthenticationException');
- $dirs[] = dirname($r->getFilename()).'/../../Resources/translations';
+ $dirs[] = dirname($r->getFilename()).'/../Resources/translations';
}
$overridePath = $container->getParameter('kernel.root_dir').'/Resources/%s/translations';
foreach ($container->getParameter('kernel.bundles') as $bundle => $class) {
diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php b/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php
index c302c4c697..3aef0dc6a0 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php
@@ -184,19 +184,19 @@ abstract class FrameworkExtensionTest extends TestCase
$files = array_map(function($resource) { return realpath($resource[1]); }, $resources);
$ref = new \ReflectionClass('Symfony\Component\Validator\Validator');
$this->assertContains(
- strtr(dirname($ref->getFileName()) . '/Resources/translations/validators.en.xlf', '/', DIRECTORY_SEPARATOR),
+ strtr(dirname($ref->getFileName()).'/Resources/translations/validators.en.xlf', '/', DIRECTORY_SEPARATOR),
$files,
'->registerTranslatorConfiguration() finds Validator translation resources'
);
$ref = new \ReflectionClass('Symfony\Component\Form\Form');
$this->assertContains(
- strtr(dirname($ref->getFileName()) . '/Resources/translations/validators.en.xlf', '/', DIRECTORY_SEPARATOR),
+ strtr(dirname($ref->getFileName()).'/Resources/translations/validators.en.xlf', '/', DIRECTORY_SEPARATOR),
$files,
'->registerTranslatorConfiguration() finds Form translation resources'
);
$ref = new \ReflectionClass('Symfony\Component\Security\Core\SecurityContext');
$this->assertContains(
- strtr(dirname(dirname($ref->getFileName())) . '/Resources/translations/security.en.xlf', '/', DIRECTORY_SEPARATOR),
+ strtr(dirname($ref->getFileName()).'/Resources/translations/security.en.xlf', '/', DIRECTORY_SEPARATOR),
$files,
'->registerTranslatorConfiguration() finds Security translation resources'
);
diff --git a/src/Symfony/Component/Security/Acl/.gitignore b/src/Symfony/Component/Security/Acl/.gitignore
new file mode 100644
index 0000000000..c49a5d8df5
--- /dev/null
+++ b/src/Symfony/Component/Security/Acl/.gitignore
@@ -0,0 +1,3 @@
+vendor/
+composer.lock
+phpunit.xml
diff --git a/src/Symfony/Component/Security/Acl/LICENSE b/src/Symfony/Component/Security/Acl/LICENSE
new file mode 100644
index 0000000000..88a57f8d8d
--- /dev/null
+++ b/src/Symfony/Component/Security/Acl/LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2004-2013 Fabien Potencier
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is furnished
+to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/src/Symfony/Component/Security/Acl/README.md b/src/Symfony/Component/Security/Acl/README.md
new file mode 100644
index 0000000000..87e5092dce
--- /dev/null
+++ b/src/Symfony/Component/Security/Acl/README.md
@@ -0,0 +1,23 @@
+Security Component - ACL (Access Control List)
+==============================================
+
+Security provides an infrastructure for sophisticated authorization systems,
+which makes it possible to easily separate the actual authorization logic from
+so called user providers that hold the users credentials. It is inspired by
+the Java Spring framework.
+
+Resources
+---------
+
+Documentation:
+
+http://symfony.com/doc/2.4/book/security.html
+
+Tests
+-----
+
+You can run the unit tests with the following command:
+
+ $ cd path/to/Symfony/Component/Security/Acl/
+ $ composer.phar install --dev
+ $ phpunit
diff --git a/src/Symfony/Component/Security/Tests/Acl/Dbal/AclProviderBenchmarkTest.php b/src/Symfony/Component/Security/Acl/Tests/Dbal/AclProviderBenchmarkTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Acl/Dbal/AclProviderBenchmarkTest.php
rename to src/Symfony/Component/Security/Acl/Tests/Dbal/AclProviderBenchmarkTest.php
index f6e3ba87f0..8f68f1f5c7 100644
--- a/src/Symfony/Component/Security/Tests/Acl/Dbal/AclProviderBenchmarkTest.php
+++ b/src/Symfony/Component/Security/Acl/Tests/Dbal/AclProviderBenchmarkTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Acl\Dbal;
+namespace Symfony\Component\Security\Acl\Tests\Dbal;
use Symfony\Component\Security\Acl\Dbal\AclProvider;
use Symfony\Component\Security\Acl\Domain\PermissionGrantingStrategy;
diff --git a/src/Symfony/Component/Security/Tests/Acl/Dbal/AclProviderTest.php b/src/Symfony/Component/Security/Acl/Tests/Dbal/AclProviderTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Acl/Dbal/AclProviderTest.php
rename to src/Symfony/Component/Security/Acl/Tests/Dbal/AclProviderTest.php
index d701e226ce..717a2585e4 100644
--- a/src/Symfony/Component/Security/Tests/Acl/Dbal/AclProviderTest.php
+++ b/src/Symfony/Component/Security/Acl/Tests/Dbal/AclProviderTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Acl\Dbal;
+namespace Symfony\Component\Security\Acl\Tests\Dbal;
use Symfony\Component\Security\Acl\Dbal\AclProvider;
use Symfony\Component\Security\Acl\Domain\PermissionGrantingStrategy;
diff --git a/src/Symfony/Component/Security/Tests/Acl/Dbal/MutableAclProviderTest.php b/src/Symfony/Component/Security/Acl/Tests/Dbal/MutableAclProviderTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Acl/Dbal/MutableAclProviderTest.php
rename to src/Symfony/Component/Security/Acl/Tests/Dbal/MutableAclProviderTest.php
index 69778c9153..98a34b6c38 100644
--- a/src/Symfony/Component/Security/Tests/Acl/Dbal/MutableAclProviderTest.php
+++ b/src/Symfony/Component/Security/Acl/Tests/Dbal/MutableAclProviderTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Acl\Dbal;
+namespace Symfony\Component\Security\Acl\Tests\Dbal;
use Symfony\Component\Security\Acl\Domain\RoleSecurityIdentity;
use Symfony\Component\Security\Acl\Model\FieldEntryInterface;
diff --git a/src/Symfony/Component/Security/Tests/Acl/Domain/AclTest.php b/src/Symfony/Component/Security/Acl/Tests/Domain/AclTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Acl/Domain/AclTest.php
rename to src/Symfony/Component/Security/Acl/Tests/Domain/AclTest.php
index 390bebf47c..2034c214de 100644
--- a/src/Symfony/Component/Security/Tests/Acl/Domain/AclTest.php
+++ b/src/Symfony/Component/Security/Acl/Tests/Domain/AclTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Acl\Domain;
+namespace Symfony\Component\Security\Acl\Tests\Domain;
use Symfony\Component\Security\Acl\Domain\UserSecurityIdentity;
diff --git a/src/Symfony/Component/Security/Tests/Acl/Domain/AuditLoggerTest.php b/src/Symfony/Component/Security/Acl/Tests/Domain/AuditLoggerTest.php
similarity index 97%
rename from src/Symfony/Component/Security/Tests/Acl/Domain/AuditLoggerTest.php
rename to src/Symfony/Component/Security/Acl/Tests/Domain/AuditLoggerTest.php
index a0f38eb42c..fe56b8cbea 100644
--- a/src/Symfony/Component/Security/Tests/Acl/Domain/AuditLoggerTest.php
+++ b/src/Symfony/Component/Security/Acl/Tests/Domain/AuditLoggerTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Acl\Domain;
+namespace Symfony\Component\Security\Acl\Tests\Domain;
class AuditLoggerTest extends \PHPUnit_Framework_TestCase
{
diff --git a/src/Symfony/Component/Security/Tests/Acl/Domain/DoctrineAclCacheTest.php b/src/Symfony/Component/Security/Acl/Tests/Domain/DoctrineAclCacheTest.php
similarity index 98%
rename from src/Symfony/Component/Security/Tests/Acl/Domain/DoctrineAclCacheTest.php
rename to src/Symfony/Component/Security/Acl/Tests/Domain/DoctrineAclCacheTest.php
index 93c87c1494..128f2c8483 100644
--- a/src/Symfony/Component/Security/Tests/Acl/Domain/DoctrineAclCacheTest.php
+++ b/src/Symfony/Component/Security/Acl/Tests/Domain/DoctrineAclCacheTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Acl\Domain;
+namespace Symfony\Component\Security\Acl\Tests\Domain;
use Symfony\Component\Security\Acl\Domain\UserSecurityIdentity;
use Symfony\Component\Security\Acl\Domain\ObjectIdentity;
diff --git a/src/Symfony/Component/Security/Tests/Acl/Domain/EntryTest.php b/src/Symfony/Component/Security/Acl/Tests/Domain/EntryTest.php
similarity index 100%
rename from src/Symfony/Component/Security/Tests/Acl/Domain/EntryTest.php
rename to src/Symfony/Component/Security/Acl/Tests/Domain/EntryTest.php
diff --git a/src/Symfony/Component/Security/Tests/Acl/Domain/FieldEntryTest.php b/src/Symfony/Component/Security/Acl/Tests/Domain/FieldEntryTest.php
similarity index 97%
rename from src/Symfony/Component/Security/Tests/Acl/Domain/FieldEntryTest.php
rename to src/Symfony/Component/Security/Acl/Tests/Domain/FieldEntryTest.php
index 7f0cbc0760..735e2e86da 100644
--- a/src/Symfony/Component/Security/Tests/Acl/Domain/FieldEntryTest.php
+++ b/src/Symfony/Component/Security/Acl/Tests/Domain/FieldEntryTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Acl\Domain;
+namespace Symfony\Component\Security\Acl\Tests\Domain;
use Symfony\Component\Security\Acl\Domain\FieldEntry;
diff --git a/src/Symfony/Component/Security/Tests/Acl/Domain/ObjectIdentityRetrievalStrategyTest.php b/src/Symfony/Component/Security/Acl/Tests/Domain/ObjectIdentityRetrievalStrategyTest.php
similarity index 95%
rename from src/Symfony/Component/Security/Tests/Acl/Domain/ObjectIdentityRetrievalStrategyTest.php
rename to src/Symfony/Component/Security/Acl/Tests/Domain/ObjectIdentityRetrievalStrategyTest.php
index e89e1ef125..59fc3bdb7e 100644
--- a/src/Symfony/Component/Security/Tests/Acl/Domain/ObjectIdentityRetrievalStrategyTest.php
+++ b/src/Symfony/Component/Security/Acl/Tests/Domain/ObjectIdentityRetrievalStrategyTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Acl\Domain;
+namespace Symfony\Component\Security\Acl\Tests\Domain;
use Symfony\Component\Security\Acl\Domain\ObjectIdentityRetrievalStrategy;
diff --git a/src/Symfony/Component/Security/Tests/Acl/Domain/ObjectIdentityTest.php b/src/Symfony/Component/Security/Acl/Tests/Domain/ObjectIdentityTest.php
similarity index 84%
rename from src/Symfony/Component/Security/Tests/Acl/Domain/ObjectIdentityTest.php
rename to src/Symfony/Component/Security/Acl/Tests/Domain/ObjectIdentityTest.php
index 9281fd53e4..4eab7b2a7f 100644
--- a/src/Symfony/Component/Security/Tests/Acl/Domain/ObjectIdentityTest.php
+++ b/src/Symfony/Component/Security/Acl/Tests/Domain/ObjectIdentityTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Acl\Domain
+namespace Symfony\Component\Security\Acl\Tests\Domain
{
use Symfony\Component\Security\Acl\Domain\ObjectIdentity;
@@ -26,10 +26,10 @@ namespace Symfony\Component\Security\Tests\Acl\Domain
// Test that constructor never changes passed type, even with proxies
public function testConstructorWithProxy()
{
- $id = new ObjectIdentity('fooid', 'Acme\DemoBundle\Proxy\__CG__\Symfony\Component\Security\Tests\Acl\Domain\TestDomainObject');
+ $id = new ObjectIdentity('fooid', 'Acme\DemoBundle\Proxy\__CG__\Symfony\Component\Security\Acl\Tests\Domain\TestDomainObject');
$this->assertEquals('fooid', $id->getIdentifier());
- $this->assertEquals('Acme\DemoBundle\Proxy\__CG__\Symfony\Component\Security\Tests\Acl\Domain\TestDomainObject', $id->getType());
+ $this->assertEquals('Acme\DemoBundle\Proxy\__CG__\Symfony\Component\Security\Acl\Tests\Domain\TestDomainObject', $id->getType());
}
public function testFromDomainObjectPrefersInterfaceOverGetId()
@@ -54,14 +54,14 @@ namespace Symfony\Component\Security\Tests\Acl\Domain
{
$id = ObjectIdentity::fromDomainObject(new TestDomainObject());
$this->assertEquals('getId()', $id->getIdentifier());
- $this->assertEquals('Symfony\Component\Security\Tests\Acl\Domain\TestDomainObject', $id->getType());
+ $this->assertEquals('Symfony\Component\Security\Acl\Tests\Domain\TestDomainObject', $id->getType());
}
public function testFromDomainObjectWithProxy()
{
- $id = ObjectIdentity::fromDomainObject(new \Acme\DemoBundle\Proxy\__CG__\Symfony\Component\Security\Tests\Acl\Domain\TestDomainObject());
+ $id = ObjectIdentity::fromDomainObject(new \Acme\DemoBundle\Proxy\__CG__\Symfony\Component\Security\Acl\Tests\Domain\TestDomainObject());
$this->assertEquals('getId()', $id->getIdentifier());
- $this->assertEquals('Symfony\Component\Security\Tests\Acl\Domain\TestDomainObject', $id->getType());
+ $this->assertEquals('Symfony\Component\Security\Acl\Tests\Domain\TestDomainObject', $id->getType());
}
/**
@@ -101,9 +101,9 @@ namespace Symfony\Component\Security\Tests\Acl\Domain
}
}
-namespace Acme\DemoBundle\Proxy\__CG__\Symfony\Component\Security\Tests\Acl\Domain
+namespace Acme\DemoBundle\Proxy\__CG__\Symfony\Component\Security\Acl\Tests\Domain
{
- class TestDomainObject extends \Symfony\Component\Security\Tests\Acl\Domain\TestDomainObject
+ class TestDomainObject extends \Symfony\Component\Security\Acl\Tests\Domain\TestDomainObject
{
}
}
diff --git a/src/Symfony/Component/Security/Tests/Acl/Domain/PermissionGrantingStrategyTest.php b/src/Symfony/Component/Security/Acl/Tests/Domain/PermissionGrantingStrategyTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Acl/Domain/PermissionGrantingStrategyTest.php
rename to src/Symfony/Component/Security/Acl/Tests/Domain/PermissionGrantingStrategyTest.php
index 964aa1fd04..490d256338 100644
--- a/src/Symfony/Component/Security/Tests/Acl/Domain/PermissionGrantingStrategyTest.php
+++ b/src/Symfony/Component/Security/Acl/Tests/Domain/PermissionGrantingStrategyTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Acl\Domain;
+namespace Symfony\Component\Security\Acl\Tests\Domain;
use Symfony\Component\Security\Acl\Domain\ObjectIdentity;
use Symfony\Component\Security\Acl\Domain\RoleSecurityIdentity;
diff --git a/src/Symfony/Component/Security/Tests/Acl/Domain/RoleSecurityIdentityTest.php b/src/Symfony/Component/Security/Acl/Tests/Domain/RoleSecurityIdentityTest.php
similarity index 96%
rename from src/Symfony/Component/Security/Tests/Acl/Domain/RoleSecurityIdentityTest.php
rename to src/Symfony/Component/Security/Acl/Tests/Domain/RoleSecurityIdentityTest.php
index 341f33ca48..ad5f23639f 100644
--- a/src/Symfony/Component/Security/Tests/Acl/Domain/RoleSecurityIdentityTest.php
+++ b/src/Symfony/Component/Security/Acl/Tests/Domain/RoleSecurityIdentityTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Acl\Domain;
+namespace Symfony\Component\Security\Acl\Tests\Domain;
use Symfony\Component\Security\Acl\Domain\UserSecurityIdentity;
use Symfony\Component\Security\Core\Role\Role;
diff --git a/src/Symfony/Component/Security/Tests/Acl/Domain/SecurityIdentityRetrievalStrategyTest.php b/src/Symfony/Component/Security/Acl/Tests/Domain/SecurityIdentityRetrievalStrategyTest.php
similarity index 98%
rename from src/Symfony/Component/Security/Tests/Acl/Domain/SecurityIdentityRetrievalStrategyTest.php
rename to src/Symfony/Component/Security/Acl/Tests/Domain/SecurityIdentityRetrievalStrategyTest.php
index f649653db0..02fbe679f1 100644
--- a/src/Symfony/Component/Security/Tests/Acl/Domain/SecurityIdentityRetrievalStrategyTest.php
+++ b/src/Symfony/Component/Security/Acl/Tests/Domain/SecurityIdentityRetrievalStrategyTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Acl\Domain;
+namespace Symfony\Component\Security\Acl\Tests\Domain;
use Symfony\Component\Security\Acl\Domain\RoleSecurityIdentity;
use Symfony\Component\Security\Acl\Domain\UserSecurityIdentity;
@@ -88,7 +88,7 @@ class SecurityIdentityRetrievalStrategyTest extends \PHPUnit_Framework_TestCase
new RoleSecurityIdentity('IS_AUTHENTICATED_ANONYMOUSLY'),
)),
array(new CustomUserImpl('johannes'), array('ROLE_FOO'), 'fullFledged', array(
- new UserSecurityIdentity('johannes', 'Symfony\Component\Security\Tests\Acl\Domain\CustomUserImpl'),
+ new UserSecurityIdentity('johannes', 'Symfony\Component\Security\Acl\Tests\Domain\CustomUserImpl'),
new RoleSecurityIdentity('ROLE_FOO'),
new RoleSecurityIdentity('IS_AUTHENTICATED_FULLY'),
new RoleSecurityIdentity('IS_AUTHENTICATED_REMEMBERED'),
diff --git a/src/Symfony/Component/Security/Tests/Acl/Domain/UserSecurityIdentityTest.php b/src/Symfony/Component/Security/Acl/Tests/Domain/UserSecurityIdentityTest.php
similarity index 93%
rename from src/Symfony/Component/Security/Tests/Acl/Domain/UserSecurityIdentityTest.php
rename to src/Symfony/Component/Security/Acl/Tests/Domain/UserSecurityIdentityTest.php
index 1d6a3c5bca..09d3f0d560 100644
--- a/src/Symfony/Component/Security/Tests/Acl/Domain/UserSecurityIdentityTest.php
+++ b/src/Symfony/Component/Security/Acl/Tests/Domain/UserSecurityIdentityTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Acl\Domain;
+namespace Symfony\Component\Security\Acl\Tests\Domain;
use Symfony\Component\Security\Acl\Domain\RoleSecurityIdentity;
use Symfony\Component\Security\Acl\Domain\UserSecurityIdentity;
@@ -27,10 +27,10 @@ class UserSecurityIdentityTest extends \PHPUnit_Framework_TestCase
// Test that constructor never changes the type, even for proxies
public function testConstructorWithProxy()
{
- $id = new UserSecurityIdentity('foo', 'Acme\DemoBundle\Proxy\__CG__\Symfony\Component\Security\Tests\Acl\Domain\Foo');
+ $id = new UserSecurityIdentity('foo', 'Acme\DemoBundle\Proxy\__CG__\Symfony\Component\Security\Acl\Tests\Domain\Foo');
$this->assertEquals('foo', $id->getUsername());
- $this->assertEquals('Acme\DemoBundle\Proxy\__CG__\Symfony\Component\Security\Tests\Acl\Domain\Foo', $id->getClass());
+ $this->assertEquals('Acme\DemoBundle\Proxy\__CG__\Symfony\Component\Security\Acl\Tests\Domain\Foo', $id->getClass());
}
/**
diff --git a/src/Symfony/Component/Security/Tests/Acl/Permission/BasicPermissionMapTest.php b/src/Symfony/Component/Security/Acl/Tests/Permission/BasicPermissionMapTest.php
similarity index 90%
rename from src/Symfony/Component/Security/Tests/Acl/Permission/BasicPermissionMapTest.php
rename to src/Symfony/Component/Security/Acl/Tests/Permission/BasicPermissionMapTest.php
index 743634ba59..2afe588f03 100644
--- a/src/Symfony/Component/Security/Tests/Acl/Permission/BasicPermissionMapTest.php
+++ b/src/Symfony/Component/Security/Acl/Tests/Permission/BasicPermissionMapTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Acl\Permission;
+namespace Symfony\Component\Security\Acl\Tests\Permission;
use Symfony\Component\Security\Acl\Permission\BasicPermissionMap;
diff --git a/src/Symfony/Component/Security/Tests/Acl/Permission/MaskBuilderTest.php b/src/Symfony/Component/Security/Acl/Tests/Permission/MaskBuilderTest.php
similarity index 98%
rename from src/Symfony/Component/Security/Tests/Acl/Permission/MaskBuilderTest.php
rename to src/Symfony/Component/Security/Acl/Tests/Permission/MaskBuilderTest.php
index 848a6f2bfd..9ec6538871 100644
--- a/src/Symfony/Component/Security/Tests/Acl/Permission/MaskBuilderTest.php
+++ b/src/Symfony/Component/Security/Acl/Tests/Permission/MaskBuilderTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Acl\Util;
+namespace Symfony\Component\Security\Acl\Tests\Util;
use Symfony\Component\Security\Acl\Permission\MaskBuilder;
diff --git a/src/Symfony/Component/Security/Tests/Acl/Voter/AclVoterTest.php b/src/Symfony/Component/Security/Acl/Tests/Voter/AclVoterTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Acl/Voter/AclVoterTest.php
rename to src/Symfony/Component/Security/Acl/Tests/Voter/AclVoterTest.php
index 2474515b5c..6bec23124c 100644
--- a/src/Symfony/Component/Security/Tests/Acl/Voter/AclVoterTest.php
+++ b/src/Symfony/Component/Security/Acl/Tests/Voter/AclVoterTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Acl\Voter;
+namespace Symfony\Component\Security\Acl\Tests\Voter;
use Symfony\Component\Security\Acl\Exception\NoAceFoundException;
use Symfony\Component\Security\Acl\Voter\FieldVote;
diff --git a/src/Symfony/Component/Security/Acl/composer.json b/src/Symfony/Component/Security/Acl/composer.json
new file mode 100644
index 0000000000..3d05989ba0
--- /dev/null
+++ b/src/Symfony/Component/Security/Acl/composer.json
@@ -0,0 +1,42 @@
+{
+ "name": "symfony/security-acl",
+ "type": "library",
+ "description": "Symfony Security Component - ACL (Access Control List)",
+ "keywords": [],
+ "homepage": "http://symfony.com",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "http://symfony.com/contributors"
+ }
+ ],
+ "require": {
+ "php": ">=5.3.3",
+ "symfony/security-core": "~2.4"
+ },
+ "require-dev": {
+ "doctrine/common": "~2.2",
+ "doctrine/dbal": "~2.2",
+ "psr/log": "~1.0"
+ },
+ "suggest": {
+ "symfony/class-loader": "",
+ "symfony/finder": "",
+ "doctrine/dbal": "to use the built-in ACL implementation"
+ },
+ "autoload": {
+ "psr-0": { "Symfony\\Component\\Security\\Acl\\": "" }
+ },
+ "target-dir": "Symfony/Component/Security/Acl",
+ "minimum-stability": "dev",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.4-dev"
+ }
+ }
+}
diff --git a/src/Symfony/Component/Security/Acl/phpunit.xml.dist b/src/Symfony/Component/Security/Acl/phpunit.xml.dist
new file mode 100644
index 0000000000..65209485df
--- /dev/null
+++ b/src/Symfony/Component/Security/Acl/phpunit.xml.dist
@@ -0,0 +1,29 @@
+
+
+
+
+
+ ./Tests/
+
+
+
+
+
+ ./
+
+ ./vendor
+ ./Tests
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/.gitignore b/src/Symfony/Component/Security/Core/.gitignore
new file mode 100644
index 0000000000..c49a5d8df5
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/.gitignore
@@ -0,0 +1,3 @@
+vendor/
+composer.lock
+phpunit.xml
diff --git a/src/Symfony/Component/Security/Core/LICENSE b/src/Symfony/Component/Security/Core/LICENSE
new file mode 100644
index 0000000000..88a57f8d8d
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2004-2013 Fabien Potencier
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is furnished
+to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/src/Symfony/Component/Security/Core/README.md b/src/Symfony/Component/Security/Core/README.md
new file mode 100644
index 0000000000..7fc281dd7e
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/README.md
@@ -0,0 +1,23 @@
+Security Component - Core
+=========================
+
+Security provides an infrastructure for sophisticated authorization systems,
+which makes it possible to easily separate the actual authorization logic from
+so called user providers that hold the users credentials. It is inspired by
+the Java Spring framework.
+
+Resources
+---------
+
+Documentation:
+
+http://symfony.com/doc/2.4/book/security.html
+
+Tests
+-----
+
+You can run the unit tests with the following command:
+
+ $ cd path/to/Symfony/Component/Security/Core/
+ $ composer.phar install --dev
+ $ phpunit
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.ar.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.ar.xlf
new file mode 100644
index 0000000000..fd18ee6ad9
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.ar.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ حدث خطأ اثناء الدخول.
+
+
+
+ لم استطع العثور على معلومات الدخول.
+
+
+
+ لم يكتمل طلب الدخول نتيجه عطل فى النظام.
+
+
+
+ معلومات الدخول خاطئة.
+
+
+
+ ملفات تعريف الارتباط(cookies) تم استخدامها من قبل شخص اخر.
+
+
+
+ ليست لديك الصلاحيات الكافية لهذا الطلب.
+
+
+
+ رمز الموقع غير صحيح.
+
+
+
+ انتهت صلاحية(digest nonce).
+
+
+
+ لا يوجد معرف للدخول يدعم الرمز المستخدم للدخول.
+
+
+
+ لا يوجد صلة بينك و بين الموقع اما انها انتهت او ان متصفحك لا يدعم خاصية ملفات تعريف الارتباط (cookies).
+
+
+
+ لم استطع العثور على الرمز.
+
+
+
+ لم استطع العثور على اسم الدخول.
+
+
+
+ انتهت صلاحية الحساب.
+
+
+
+ انتهت صلاحية معلومات الدخول.
+
+
+
+ الحساب موقوف.
+
+
+
+ الحساب مغلق.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.ca.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.ca.xlf
new file mode 100644
index 0000000000..7ece2603ae
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.ca.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ Ha succeït un error d'autenticació.
+
+
+
+ No s'han trobat les credencials d'autenticació.
+
+
+
+ La solicitud d'autenticació no s'ha pogut processar per un problema del sistema.
+
+
+
+ Credencials no vàlides.
+
+
+
+ La cookie ja ha estat utilitzada per una altra persona.
+
+
+
+ No té privilegis per solicitar el recurs.
+
+
+
+ Token CSRF no vàlid.
+
+
+
+ El vector d'inicialització (digest nonce) ha expirat.
+
+
+
+ No s'ha trobat un proveïdor d'autenticació que suporti el token d'autenticació.
+
+
+
+ No hi ha sessió disponible, ha expirat o les cookies no estan habilitades.
+
+
+
+ No s'ha trobat cap token.
+
+
+
+ No s'ha trobat el nom d'usuari.
+
+
+
+ El compte ha expirat.
+
+
+
+ Les credencials han expirat.
+
+
+
+ El compte està deshabilitat.
+
+
+
+ El compte està bloquejat.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.cs.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.cs.xlf
new file mode 100644
index 0000000000..bd146c6804
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.cs.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ Při ověřování došlo k chybě.
+
+
+
+ Ověřovací údaje nebyly nalezeny.
+
+
+
+ Požadavek na ověření nemohl být zpracován kvůli systémové chybě.
+
+
+
+ Neplatné přihlašovací údaje.
+
+
+
+ Cookie již bylo použité někým jiným.
+
+
+
+ Nemáte oprávnění přistupovat k prostředku.
+
+
+
+ Neplatný CSRF token.
+
+
+
+ Platnost inicializačního vektoru (digest nonce) vypršela.
+
+
+
+ Poskytovatel pro ověřovací token nebyl nalezen.
+
+
+
+ Session není k dispozici, vypršela její platnost, nebo jsou zakázané cookies.
+
+
+
+ Token nebyl nalezen.
+
+
+
+ Přihlašovací jméno nebylo nalezeno.
+
+
+
+ Platnost účtu vypršela.
+
+
+
+ Platnost přihlašovacích údajů vypršela.
+
+
+
+ Účet je zakázaný.
+
+
+
+ Účet je zablokovaný.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.da.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.da.xlf
new file mode 100644
index 0000000000..9c7b8866ef
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.da.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ En fejl indtraf ved godkendelse.
+
+
+
+ Loginoplysninger kan findes.
+
+
+
+ Godkendelsesanmodning kan ikke behandles på grund af et systemfejl.
+
+
+
+ Ugyldige loginoplysninger.
+
+
+
+ Cookie er allerede brugt af en anden.
+
+
+
+ Ingen tilladselese at anvende kilden.
+
+
+
+ Ugyldigt CSRF token.
+
+
+
+ Digest nonce er udløbet.
+
+
+
+ Ingen godkendelsesudbyder er fundet til understøttelsen af godkendelsestoken.
+
+
+
+ Ingen session tilgængelig, sessionen er enten udløbet eller cookies er ikke aktiveret.
+
+
+
+ Ingen token kan findes.
+
+
+
+ Brugernavn kan ikke findes.
+
+
+
+ Brugerkonto er udløbet.
+
+
+
+ Loginoplysninger er udløbet.
+
+
+
+ Brugerkonto er deaktiveret.
+
+
+
+ Brugerkonto er låst.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.de.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.de.xlf
new file mode 100644
index 0000000000..e5946ed4aa
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.de.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ Es ist ein Fehler bei der Authentifikation aufgetreten.
+
+
+
+ Es konnten keine Zugangsdaten gefunden werden.
+
+
+
+ Die Authentifikation konnte wegen eines Systemproblems nicht bearbeitet werden.
+
+
+
+ Fehlerhafte Zugangsdaten.
+
+
+
+ Cookie wurde bereits von jemand anderem verwendet.
+
+
+
+ Keine Rechte, um die Ressource anzufragen.
+
+
+
+ Ungültiges CSRF-Token.
+
+
+
+ Digest nonce ist abgelaufen.
+
+
+
+ Es wurde kein Authentifizierungs-Provider gefunden, der das Authentifizierungs-Token unterstützt.
+
+
+
+ Keine Session verfügbar, entweder ist diese abgelaufen oder Cookies sind nicht aktiviert.
+
+
+
+ Es wurde kein Token gefunden.
+
+
+
+ Der Benutzername wurde nicht gefunden.
+
+
+
+ Der Account ist abgelaufen.
+
+
+
+ Die Zugangsdaten sind abgelaufen.
+
+
+
+ Der Account ist deaktiviert.
+
+
+
+ Der Account ist gesperrt.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.el.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.el.xlf
new file mode 100644
index 0000000000..07eabe7ed2
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.el.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ Συνέβη ένα σφάλμα πιστοποίησης.
+
+
+
+ Τα στοιχεία πιστοποίησης δε βρέθηκαν.
+
+
+
+ Το αίτημα πιστοποίησης δε μπορεί να επεξεργαστεί λόγω σφάλματος του συστήματος.
+
+
+
+ Λανθασμένα στοιχεία σύνδεσης.
+
+
+
+ Το Cookie έχει ήδη χρησιμοποιηθεί από κάποιον άλλο.
+
+
+
+ Δεν είστε εξουσιοδοτημένος για πρόσβαση στο συγκεκριμένο περιεχόμενο.
+
+
+
+ Μη έγκυρο CSRF token.
+
+
+
+ Το digest nonce έχει λήξει.
+
+
+
+ Δε βρέθηκε κάποιος πάροχος πιστοποίησης που να υποστηρίζει το token πιστοποίησης.
+
+
+
+ Δεν υπάρχει ενεργή σύνοδος (session), είτε έχει λήξει ή τα cookies δεν είναι ενεργοποιημένα.
+
+
+
+ Δεν ήταν δυνατόν να βρεθεί κάποιο token.
+
+
+
+ Το Username δε βρέθηκε.
+
+
+
+ Ο λογαριασμός έχει λήξει.
+
+
+
+ Τα στοιχεία σύνδεσης έχουν λήξει.
+
+
+
+ Ο λογαριασμός είναι απενεργοποιημένος.
+
+
+
+ Ο λογαριασμός είναι κλειδωμένος.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.en.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.en.xlf
new file mode 100644
index 0000000000..3640698ce9
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.en.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ An authentication exception occurred.
+
+
+
+ Authentication credentials could not be found.
+
+
+
+ Authentication request could not be processed due to a system problem.
+
+
+
+ Invalid credentials.
+
+
+
+ Cookie has already been used by someone else.
+
+
+
+ Not privileged to request the resource.
+
+
+
+ Invalid CSRF token.
+
+
+
+ Digest nonce has expired.
+
+
+
+ No authentication provider found to support the authentication token.
+
+
+
+ No session available, it either timed out or cookies are not enabled.
+
+
+
+ No token could be found.
+
+
+
+ Username could not be found.
+
+
+
+ Account has expired.
+
+
+
+ Credentials have expired.
+
+
+
+ Account is disabled.
+
+
+
+ Account is locked.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.es.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.es.xlf
new file mode 100644
index 0000000000..00cefbb2da
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.es.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ Ocurrió un error de autenticación.
+
+
+
+ No se encontraron las credenciales de autenticación.
+
+
+
+ La solicitud de autenticación no se pudo procesar debido a un problema del sistema.
+
+
+
+ Credenciales no válidas.
+
+
+
+ La cookie ya ha sido usada por otra persona.
+
+
+
+ No tiene privilegios para solicitar el recurso.
+
+
+
+ Token CSRF no válido.
+
+
+
+ El vector de inicialización (digest nonce) ha expirado.
+
+
+
+ No se encontró un proveedor de autenticación que soporte el token de autenticación.
+
+
+
+ No hay ninguna sesión disponible, ha expirado o las cookies no están habilitados.
+
+
+
+ No se encontró ningún token.
+
+
+
+ No se encontró el nombre de usuario.
+
+
+
+ La cuenta ha expirado.
+
+
+
+ Las credenciales han expirado.
+
+
+
+ La cuenta está deshabilitada.
+
+
+
+ La cuenta está bloqueada.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.fa.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.fa.xlf
new file mode 100644
index 0000000000..0b76290780
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.fa.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ خطایی هنگام تعیین اعتبار اتفاق افتاد.
+
+
+
+ شرایط تعیین اعتبار پیدا نشد.
+
+
+
+ درخواست تعیین اعتبار به دلیل مشکل سیستم قابل بررسی نیست.
+
+
+
+ شرایط نامعتبر.
+
+
+
+ کوکی قبلا برای شخص دیگری استفاده شده است.
+
+
+
+ دسترسی لازم برای درخواست این منبع را ندارید.
+
+
+
+ توکن CSRF معتبر نیست.
+
+
+
+ Digest nonce منقضی شده است.
+
+
+
+ هیچ ارایه کننده تعیین اعتباری برای ساپورت توکن تعیین اعتبار پیدا نشد.
+
+
+
+ جلسهای در دسترس نیست. این میتواند یا به دلیل پایان یافتن زمان باشد یا اینکه کوکی ها فعال نیستند.
+
+
+
+ هیچ توکنی پیدا نشد.
+
+
+
+ نام کاربری پیدا نشد.
+
+
+
+ حساب کاربری منقضی شده است.
+
+
+
+ پارامترهای تعیین اعتبار منقضی شدهاند.
+
+
+
+ حساب کاربری غیرفعال است.
+
+
+
+ حساب کاربری قفل شده است.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.fr.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.fr.xlf
new file mode 100644
index 0000000000..f3965d3fb3
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.fr.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ Une exception d'authentification s'est produite.
+
+
+
+ Les droits d'authentification n'ont pas pu être trouvés.
+
+
+
+ La requête d'authentification n'a pas pu être executée à cause d'un problème système.
+
+
+
+ Droits invalides.
+
+
+
+ Le cookie a déjà été utilisé par quelqu'un d'autre.
+
+
+
+ Pas de privilèges pour accéder à la ressource.
+
+
+
+ Jeton CSRF invalide.
+
+
+
+ Le digest nonce a expiré.
+
+
+
+ Aucun fournisseur d'authentification n'a été trouvé pour supporter le jeton d'authentification.
+
+
+
+ Pas de session disponible, celle-ci a expiré ou les cookies ne sont pas activés.
+
+
+
+ Aucun jeton n'a pu être trouvé.
+
+
+
+ Le nom d'utilisateur ne peut pas être trouvé.
+
+
+
+ Le compte a expiré.
+
+
+
+ Les droits ont expirés.
+
+
+
+ Le compte est désactivé.
+
+
+
+ Le compte est bloqué.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.gl.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.gl.xlf
new file mode 100644
index 0000000000..ed6491f7ef
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.gl.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ Ocorreu un erro de autenticación.
+
+
+
+ Non se atoparon as credenciais de autenticación.
+
+
+
+ A solicitude de autenticación no puido ser procesada debido a un problema do sistema.
+
+
+
+ Credenciais non válidas.
+
+
+
+ A cookie xa foi empregado por outro usuario.
+
+
+
+ Non ten privilexios para solicitar o recurso.
+
+
+
+ Token CSRF non válido.
+
+
+
+ O vector de inicialización (digest nonce) expirou.
+
+
+
+ Non se atopou un provedor de autenticación que soporte o token de autenticación.
+
+
+
+ Non hai ningunha sesión dispoñible, expirou ou as cookies non están habilitadas.
+
+
+
+ Non se atopou ningún token.
+
+
+
+ Non se atopou o nome de usuario.
+
+
+
+ A conta expirou.
+
+
+
+ As credenciais expiraron.
+
+
+
+ A conta está deshabilitada.
+
+
+
+ A conta está bloqueada.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.hu.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.hu.xlf
new file mode 100644
index 0000000000..724397038c
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.hu.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ Hitelesítési hiba lépett fel.
+
+
+
+ Nem találhatók hitelesítési információk.
+
+
+
+ A hitelesítési kérést rendszerhiba miatt nem lehet feldolgozni.
+
+
+
+ Érvénytelen hitelesítési információk.
+
+
+
+ Ezt a sütit valaki más már felhasználta.
+
+
+
+ Nem rendelkezik az erőforrás eléréséhez szükséges jogosultsággal.
+
+
+
+ Érvénytelen CSRF token.
+
+
+
+ A kivonat bélyege (nonce) lejárt.
+
+
+
+ Nem található a hitelesítési tokent támogató hitelesítési szolgáltatás.
+
+
+
+ Munkamenet nem áll rendelkezésre, túllépte az időkeretet vagy a sütik le vannak tiltva.
+
+
+
+ Nem található token.
+
+
+
+ A felhasználónév nem található.
+
+
+
+ A fiók lejárt.
+
+
+
+ A hitelesítési információk lejártak.
+
+
+
+ Felfüggesztett fiók.
+
+
+
+ Zárolt fiók.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.it.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.it.xlf
new file mode 100644
index 0000000000..75d81cc8d9
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.it.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ Si è verificato un errore di autenticazione.
+
+
+
+ Impossibile trovare le credenziali di autenticazione.
+
+
+
+ La richiesta di autenticazione non può essere processata a causa di un errore di sistema.
+
+
+
+ Credenziali non valide.
+
+
+
+ Il cookie è già stato usato da qualcun altro.
+
+
+
+ Non hai i privilegi per richiedere questa risorsa.
+
+
+
+ CSRF token non valido.
+
+
+
+ Il numero di autenticazione è scaduto.
+
+
+
+ Non è stato trovato un valido fornitore di autenticazione per supportare il token.
+
+
+
+ Nessuna sessione disponibile, può essere scaduta o i cookie non sono abilitati.
+
+
+
+ Nessun token trovato.
+
+
+
+ Username non trovato.
+
+
+
+ Account scaduto.
+
+
+
+ Credenziali scadute.
+
+
+
+ L'account è disabilitato.
+
+
+
+ L'account è bloccato.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.lb.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.lb.xlf
new file mode 100644
index 0000000000..3dc76d5486
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.lb.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ Bei der Authentifikatioun ass e Feeler opgetrueden.
+
+
+
+ Et konnte keng Zouganksdate fonnt ginn.
+
+
+
+ D'Ufro fir eng Authentifikatioun konnt wéinst engem Problem vum System net beaarbecht ginn.
+
+
+
+ Ongëlteg Zouganksdaten.
+
+
+
+ De Cookie gouf scho vun engem anere benotzt.
+
+
+
+ Keng Rechter fir d'Ressource unzefroen.
+
+
+
+ Ongëltegen CSRF-Token.
+
+
+
+ Den eemolege Schlëssel ass ofgelaf.
+
+
+
+ Et gouf keen Authentifizéierungs-Provider fonnt deen den Authentifizéierungs-Token ënnerstëtzt.
+
+
+
+ Keng Sëtzung disponibel. Entweder ass se ofgelaf oder Cookies sinn net aktivéiert.
+
+
+
+ Et konnt keen Token fonnt ginn.
+
+
+
+ De Benotzernumm konnt net fonnt ginn.
+
+
+
+ Den Account ass ofgelaf.
+
+
+
+ D'Zouganksdate sinn ofgelaf.
+
+
+
+ De Konto ass deaktivéiert.
+
+
+
+ De Konto ass gespaart.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.nl.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.nl.xlf
new file mode 100644
index 0000000000..8969e9ef8c
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.nl.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ Er heeft zich een authenticatieprobleem voorgedaan.
+
+
+
+ Authenticatiegegevens konden niet worden gevonden.
+
+
+
+ Authenticatieaanvraag kon niet worden verwerkt door een technisch probleem.
+
+
+
+ Ongeldige inloggegevens.
+
+
+
+ Cookie is al door een ander persoon gebruikt.
+
+
+
+ Onvoldoende rechten om de aanvraag te verwerken.
+
+
+
+ CSRF-code is ongeldig.
+
+
+
+ Serverauthenticatiesleutel (digest nonce) is verlopen.
+
+
+
+ Geen authenticatieprovider gevonden die de authenticatietoken ondersteunt.
+
+
+
+ Geen sessie beschikbaar, mogelijk is deze verlopen of cookies zijn uitgeschakeld.
+
+
+
+ Er kon geen authenticatietoken worden gevonden.
+
+
+
+ Gebruikersnaam kon niet worden gevonden.
+
+
+
+ Account is verlopen.
+
+
+
+ Authenticatiegegevens zijn verlopen.
+
+
+
+ Account is gedeactiveerd.
+
+
+
+ Account is geblokkeerd.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.no.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.no.xlf
new file mode 100644
index 0000000000..3857ab4693
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.no.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ En autentiserings feil har skjedd.
+
+
+
+ Påloggingsinformasjonen kunne ikke bli funnet.
+
+
+
+ Autentiserings forespørselen kunne ikke bli prosessert grunnet en system feil.
+
+
+
+ Ugyldig påloggingsinformasjonen.
+
+
+
+ Cookie har allerede blitt brukt av noen andre.
+
+
+
+ Ingen tilgang til å be om gitt kilde.
+
+
+
+ Ugyldig CSRF token.
+
+
+
+ Digest nonce er utløpt.
+
+
+
+ Ingen autentiserings tilbyder funnet som støtter gitt autentiserings token.
+
+
+
+ Ingen sesjon tilgjengelig, sesjonen er enten utløpt eller cookies ikke skrudd på.
+
+
+
+ Ingen token kunne bli funnet.
+
+
+
+ Brukernavn kunne ikke bli funnet.
+
+
+
+ Brukerkonto har utgått.
+
+
+
+ Påloggingsinformasjon har utløpt.
+
+
+
+ Brukerkonto er deaktivert.
+
+
+
+ Brukerkonto er sperret.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.pl.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.pl.xlf
new file mode 100644
index 0000000000..8d563d2120
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.pl.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ Wystąpił błąd uwierzytelniania.
+
+
+
+ Dane uwierzytelniania nie zostały znalezione.
+
+
+
+ Żądanie uwierzytelniania nie mogło zostać pomyślnie zakończone z powodu problemu z systemem.
+
+
+
+ Nieprawidłowe dane.
+
+
+
+ To ciasteczko jest używane przez kogoś innego.
+
+
+
+ Brak uprawnień dla żądania wskazanego zasobu.
+
+
+
+ Nieprawidłowy token CSRF.
+
+
+
+ Kod dostępu wygasł.
+
+
+
+ Nie znaleziono mechanizmu uwierzytelniania zdolnego do obsługi przesłanego tokenu.
+
+
+
+ Brak danych sesji, sesja wygasła lub ciasteczka nie są włączone.
+
+
+
+ Nie znaleziono tokenu.
+
+
+
+ Użytkownik o podanej nazwie nie istnieje.
+
+
+
+ Konto wygasło.
+
+
+
+ Dane uwierzytelniania wygasły.
+
+
+
+ Konto jest wyłączone.
+
+
+
+ Konto jest zablokowane.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.pt_BR.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.pt_BR.xlf
new file mode 100644
index 0000000000..846fd49e64
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.pt_BR.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ Uma exceção ocorreu durante a autenticação.
+
+
+
+ As credenciais de autenticação não foram encontradas.
+
+
+
+ A autenticação não pôde ser concluída devido a um problema no sistema.
+
+
+
+ Credenciais inválidas.
+
+
+
+ Este cookie já esta em uso.
+
+
+
+ Não possui privilégios o bastante para requisitar este recurso.
+
+
+
+ Token CSRF inválido.
+
+
+
+ Digest nonce expirado.
+
+
+
+ Nenhum provedor de autenticação encontrado para suportar o token de autenticação.
+
+
+
+ Nenhuma sessão disponível, ela expirou ou cookies estão desativados.
+
+
+
+ Nenhum token foi encontrado.
+
+
+
+ Nome de usuário não encontrado.
+
+
+
+ A conta esta expirada.
+
+
+
+ As credenciais estão expiradas.
+
+
+
+ Conta desativada.
+
+
+
+ A conta esta travada.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.pt_PT.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.pt_PT.xlf
new file mode 100644
index 0000000000..e661000148
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.pt_PT.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ Ocorreu um excepção durante a autenticação.
+
+
+
+ As credenciais de autenticação não foram encontradas.
+
+
+
+ O pedido de autenticação não foi concluído devido a um problema no sistema.
+
+
+
+ Credenciais inválidas.
+
+
+
+ Este cookie já esta em uso.
+
+
+
+ Não possui privilégios para aceder a este recurso.
+
+
+
+ Token CSRF inválido.
+
+
+
+ Digest nonce expirado.
+
+
+
+ Nenhum fornecedor de autenticação encontrado para suportar o token de autenticação.
+
+
+
+ Não existe sessão disponível, esta expirou ou os cookies estão desativados.
+
+
+
+ O token não foi encontrado.
+
+
+
+ Nome de utilizador não encontrado.
+
+
+
+ A conta expirou.
+
+
+
+ As credenciais expiraram.
+
+
+
+ Conta desativada.
+
+
+
+ A conta esta trancada.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.ro.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.ro.xlf
new file mode 100644
index 0000000000..440f110367
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.ro.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ A apărut o eroare de autentificare.
+
+
+
+ Informațiile de autentificare nu au fost găsite.
+
+
+
+ Sistemul nu a putut procesa cererea de autentificare din cauza unei erori.
+
+
+
+ Date de autentificare invalide.
+
+
+
+ Cookieul este folosit deja de altcineva.
+
+
+
+ Permisiuni insuficiente pentru resursa cerută.
+
+
+
+ Tokenul CSRF este invalid.
+
+
+
+ Tokenul temporar a expirat.
+
+
+
+ Nu a fost găsit nici un agent de autentificare pentru tokenul specificat.
+
+
+
+ Sesiunea nu mai este disponibilă, a expirat sau suportul pentru cookieuri nu este activat.
+
+
+
+ Tokenul nu a putut fi găsit.
+
+
+
+ Numele de utilizator nu a fost găsit.
+
+
+
+ Contul a expirat.
+
+
+
+ Datele de autentificare au expirat.
+
+
+
+ Contul este dezactivat.
+
+
+
+ Contul este blocat.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.ru.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.ru.xlf
new file mode 100644
index 0000000000..1964f95e09
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.ru.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ Ошибка аутентификации.
+
+
+
+ Аутентификационные данные не найдены.
+
+
+
+ Запрос аутентификации не может быть обработан в связи с проблемой в системе.
+
+
+
+ Недействительные аутентификационные данные.
+
+
+
+ Cookie уже был использован кем-то другим.
+
+
+
+ Отсутствуют права на запрос этого ресурса.
+
+
+
+ Недействительный токен CSRF.
+
+
+
+ Время действия одноразового ключа дайджеста истекло.
+
+
+
+ Не найден провайдер аутентификации, поддерживающий токен аутентификации.
+
+
+
+ Сессия не найдена, ее время истекло, либо cookies не включены.
+
+
+
+ Токен не найден.
+
+
+
+ Имя пользователя не найдено.
+
+
+
+ Время действия учетной записи истекло.
+
+
+
+ Время действия аутентификационных данных истекло.
+
+
+
+ Учетная запись отключена.
+
+
+
+ Учетная запись заблокирована.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.sk.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.sk.xlf
new file mode 100644
index 0000000000..e6552a6a09
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.sk.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ Pri overovaní došlo k chybe.
+
+
+
+ Overovacie údaje neboli nájdené.
+
+
+
+ Požiadavok na overenie nemohol byť spracovaný kvôli systémovej chybe.
+
+
+
+ Neplatné prihlasovacie údaje.
+
+
+
+ Cookie už bolo použité niekým iným.
+
+
+
+ Nemáte oprávnenie pristupovať k prostriedku.
+
+
+
+ Neplatný CSRF token.
+
+
+
+ Platnosť inicializačného vektoru (digest nonce) skončila.
+
+
+
+ Poskytovateľ pre overovací token nebol nájdený.
+
+
+
+ Session nie je k dispozíci, vypršala jej platnosť, alebo sú zakázané cookies.
+
+
+
+ Token nebol nájdený.
+
+
+
+ Prihlasovacie meno nebolo nájdené.
+
+
+
+ Platnosť účtu skončila.
+
+
+
+ Platnosť prihlasovacích údajov skončila.
+
+
+
+ Účet je zakázaný.
+
+
+
+ Účet je zablokovaný.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.sl.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.sl.xlf
new file mode 100644
index 0000000000..ee70c9aaa4
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.sl.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ Prišlo je do izjeme pri preverjanju avtentikacije.
+
+
+
+ Poverilnic za avtentikacijo ni bilo mogoče najti.
+
+
+
+ Zahteve za avtentikacijo ni bilo mogoče izvesti zaradi sistemske težave.
+
+
+
+ Neveljavne pravice.
+
+
+
+ Piškotek je uporabil že nekdo drug.
+
+
+
+ Nimate privilegijev za zahtevani vir.
+
+
+
+ Neveljaven CSRF žeton.
+
+
+
+ Začasni žeton je potekel.
+
+
+
+ Ponudnika avtentikacije za podporo prijavnega žetona ni bilo mogoče najti.
+
+
+
+ Seja ni na voljo, ali je potekla ali pa piškotki niso omogočeni.
+
+
+
+ Žetona ni bilo mogoče najti.
+
+
+
+ Uporabniškega imena ni bilo mogoče najti.
+
+
+
+ Račun je potekel.
+
+
+
+ Poverilnice so potekle.
+
+
+
+ Račun je onemogočen.
+
+
+
+ Račun je zaklenjen.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.sr_Cyrl.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.sr_Cyrl.xlf
new file mode 100644
index 0000000000..35e4ddf29b
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.sr_Cyrl.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ Изузетак при аутентификацији.
+
+
+
+ Аутентификациони подаци нису пронађени.
+
+
+
+ Захтев за аутентификацију не може бити обрађен због системских проблема.
+
+
+
+ Невалидни подаци за аутентификацију.
+
+
+
+ Колачић је већ искоришћен од стране неког другог.
+
+
+
+ Немате права приступа овом ресурсу.
+
+
+
+ Невалидан CSRF токен.
+
+
+
+ Време криптографског кључа је истекло.
+
+
+
+ Аутентификациони провајдер за подршку токена није пронађен.
+
+
+
+ Сесија није доступна, истекла је или су колачићи искључени.
+
+
+
+ Токен не може бити пронађен.
+
+
+
+ Корисничко име не може бити пронађено.
+
+
+
+ Налог је истекао.
+
+
+
+ Подаци за аутентификацију су истекли.
+
+
+
+ Налог је онемогућен.
+
+
+
+ Налог је закључан.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.sr_Latn.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.sr_Latn.xlf
new file mode 100644
index 0000000000..ddc48076a2
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.sr_Latn.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ Izuzetak pri autentifikaciji.
+
+
+
+ Autentifikacioni podaci nisu pronađeni.
+
+
+
+ Zahtev za autentifikaciju ne može biti obrađen zbog sistemskih problema.
+
+
+
+ Nevalidni podaci za autentifikaciju.
+
+
+
+ Kolačić je već iskorišćen od strane nekog drugog.
+
+
+
+ Nemate prava pristupa ovom resursu.
+
+
+
+ Nevalidan CSRF token.
+
+
+
+ Vreme kriptografskog ključa je isteklo.
+
+
+
+ Autentifikacioni provajder za podršku tokena nije pronađen.
+
+
+
+ Sesija nije dostupna, istekla je ili su kolačići isključeni.
+
+
+
+ Token ne može biti pronađen.
+
+
+
+ Korisničko ime ne može biti pronađeno.
+
+
+
+ Nalog je istekao.
+
+
+
+ Podaci za autentifikaciju su istekli.
+
+
+
+ Nalog je onemogućen.
+
+
+
+ Nalog je zaključan.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.sv.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.sv.xlf
new file mode 100644
index 0000000000..b5f6209236
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.sv.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ Ett autentiseringsfel har inträffat.
+
+
+
+ Uppgifterna för autentisering kunde inte hittas.
+
+
+
+ Autentiseringen kunde inte genomföras på grund av systemfel.
+
+
+
+ Felaktiga uppgifter.
+
+
+
+ Cookien har redan använts av någon annan.
+
+
+
+ Saknar rättigheter för resursen.
+
+
+
+ Ogiltig CSRF-token.
+
+
+
+ Förfallen digest nonce.
+
+
+
+ Ingen leverantör för autentisering hittades för angiven autentiseringstoken.
+
+
+
+ Ingen session finns tillgänglig, antingen har den förfallit eller är cookies inte aktiverat.
+
+
+
+ Ingen token kunde hittas.
+
+
+
+ Användarnamnet kunde inte hittas.
+
+
+
+ Kontot har förfallit.
+
+
+
+ Uppgifterna har förfallit.
+
+
+
+ Kontot är inaktiverat.
+
+
+
+ Kontot är låst.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.tr.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.tr.xlf
new file mode 100644
index 0000000000..fbf9b260b0
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.tr.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ Bir yetkilendirme istisnası oluştu.
+
+
+
+ Yetkilendirme girdileri bulunamadı.
+
+
+
+ Bir sistem hatası nedeniyle yetkilendirme isteği işleme alınamıyor.
+
+
+
+ Geçersiz girdiler.
+
+
+
+ Çerez bir başkası tarafından zaten kullanılmıştı.
+
+
+
+ Kaynak talebi için imtiyaz bulunamadı.
+
+
+
+ Geçersiz CSRF fişi.
+
+
+
+ Derleme zaman aşımı gerçekleşti.
+
+
+
+ Yetkilendirme fişini destekleyecek yetkilendirme sağlayıcısı bulunamadı.
+
+
+
+ Oturum bulunamadı, zaman aşımına uğradı veya çerezler etkin değil.
+
+
+
+ Bilet bulunamadı.
+
+
+
+ Kullanıcı adı bulunamadı.
+
+
+
+ Hesap zaman aşımına uğradı.
+
+
+
+ Girdiler zaman aşımına uğradı.
+
+
+
+ Hesap devre dışı bırakılmış.
+
+
+
+ Hesap kilitlenmiş.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Core/Resources/translations/security.ua.xlf b/src/Symfony/Component/Security/Core/Resources/translations/security.ua.xlf
new file mode 100644
index 0000000000..7972121206
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/Resources/translations/security.ua.xlf
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+ Помилка автентифікації.
+
+
+
+ Автентифікаційні дані не знайдено.
+
+
+
+ Запит на автентифікацію не може бути опрацьовано у зв’язку з проблемою в системі.
+
+
+
+ Невірні автентифікаційні дані.
+
+
+
+ Хтось інший вже використав цей сookie.
+
+
+
+ Відсутні права на запит цього ресурсу.
+
+
+
+ Невірний токен CSRF.
+
+
+
+ Закінчився термін дії одноразового ключа дайджесту.
+
+
+
+ Не знайдено провайдера автентифікації, що підтримує токен автентифікаціії.
+
+
+
+ Сесія недоступна, її час вийшов, або cookies вимкнено.
+
+
+
+ Токен не знайдено.
+
+
+
+ Ім’я користувача не знайдено.
+
+
+
+ Термін дії облікового запису вичерпано.
+
+
+
+ Термін дії автентифікаційних даних вичерпано.
+
+
+
+ Обліковий запис відключено.
+
+
+
+ Обліковий запис заблоковано.
+
+
+
+
diff --git a/src/Symfony/Component/Security/Tests/Core/Authentication/AuthenticationProviderManagerTest.php b/src/Symfony/Component/Security/Core/Tests/Authentication/AuthenticationProviderManagerTest.php
similarity index 98%
rename from src/Symfony/Component/Security/Tests/Core/Authentication/AuthenticationProviderManagerTest.php
rename to src/Symfony/Component/Security/Core/Tests/Authentication/AuthenticationProviderManagerTest.php
index 12eb568a29..f3aaa8548f 100644
--- a/src/Symfony/Component/Security/Tests/Core/Authentication/AuthenticationProviderManagerTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Authentication/AuthenticationProviderManagerTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Authentication;
+namespace Symfony\Component\Security\Core\Tests\Authentication;
use Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager;
use Symfony\Component\Security\Core\Exception\ProviderNotFoundException;
diff --git a/src/Symfony/Component/Security/Tests/Core/Authentication/AuthenticationTrustResolverTest.php b/src/Symfony/Component/Security/Core/Tests/Authentication/AuthenticationTrustResolverTest.php
similarity index 97%
rename from src/Symfony/Component/Security/Tests/Core/Authentication/AuthenticationTrustResolverTest.php
rename to src/Symfony/Component/Security/Core/Tests/Authentication/AuthenticationTrustResolverTest.php
index c3b15852e6..07ce08b6da 100644
--- a/src/Symfony/Component/Security/Tests/Core/Authentication/AuthenticationTrustResolverTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Authentication/AuthenticationTrustResolverTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Authentication;
+namespace Symfony\Component\Security\Core\Tests\Authentication;
use Symfony\Component\Security\Core\Authentication\Token\AnonymousToken;
use Symfony\Component\Security\Core\Authentication\Token\RememberMeToken;
diff --git a/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/AnonymousAuthenticationProviderTest.php b/src/Symfony/Component/Security/Core/Tests/Authentication/Provider/AnonymousAuthenticationProviderTest.php
similarity index 96%
rename from src/Symfony/Component/Security/Tests/Core/Authentication/Provider/AnonymousAuthenticationProviderTest.php
rename to src/Symfony/Component/Security/Core/Tests/Authentication/Provider/AnonymousAuthenticationProviderTest.php
index d0da14724e..5a189b0ec6 100644
--- a/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/AnonymousAuthenticationProviderTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Authentication/Provider/AnonymousAuthenticationProviderTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Authentication\Provider;
+namespace Symfony\Component\Security\Core\Tests\Authentication\Provider;
use Symfony\Component\Security\Core\Authentication\Provider\AnonymousAuthenticationProvider;
diff --git a/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/DaoAuthenticationProviderTest.php b/src/Symfony/Component/Security/Core/Tests/Authentication/Provider/DaoAuthenticationProviderTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Core/Authentication/Provider/DaoAuthenticationProviderTest.php
rename to src/Symfony/Component/Security/Core/Tests/Authentication/Provider/DaoAuthenticationProviderTest.php
index 8b270615dc..ed4fe10634 100644
--- a/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/DaoAuthenticationProviderTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Authentication/Provider/DaoAuthenticationProviderTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Authentication\Provider;
+namespace Symfony\Component\Security\Core\Tests\Authentication\Provider;
use Symfony\Component\Security\Core\Encoder\PlaintextPasswordEncoder;
diff --git a/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/PreAuthenticatedAuthenticationProviderTest.php b/src/Symfony/Component/Security/Core/Tests/Authentication/Provider/PreAuthenticatedAuthenticationProviderTest.php
similarity index 98%
rename from src/Symfony/Component/Security/Tests/Core/Authentication/Provider/PreAuthenticatedAuthenticationProviderTest.php
rename to src/Symfony/Component/Security/Core/Tests/Authentication/Provider/PreAuthenticatedAuthenticationProviderTest.php
index f7ffb1e509..522edb462b 100644
--- a/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/PreAuthenticatedAuthenticationProviderTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Authentication/Provider/PreAuthenticatedAuthenticationProviderTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Authentication\Provider;
+namespace Symfony\Component\Security\Core\Tests\Authentication\Provider;
use Symfony\Component\Security\Core\Authentication\Provider\PreAuthenticatedAuthenticationProvider;
diff --git a/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/RememberMeAuthenticationProviderTest.php b/src/Symfony/Component/Security/Core/Tests/Authentication/Provider/RememberMeAuthenticationProviderTest.php
similarity index 98%
rename from src/Symfony/Component/Security/Tests/Core/Authentication/Provider/RememberMeAuthenticationProviderTest.php
rename to src/Symfony/Component/Security/Core/Tests/Authentication/Provider/RememberMeAuthenticationProviderTest.php
index 5e250e0d07..43da274d5b 100644
--- a/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/RememberMeAuthenticationProviderTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Authentication/Provider/RememberMeAuthenticationProviderTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Authentication\Provider;
+namespace Symfony\Component\Security\Core\Tests\Authentication\Provider;
use Symfony\Component\Security\Core\Authentication\Provider\RememberMeAuthenticationProvider;
use Symfony\Component\Security\Core\Authentication\Token\RememberMeToken;
diff --git a/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/UserAuthenticationProviderTest.php b/src/Symfony/Component/Security/Core/Tests/Authentication/Provider/UserAuthenticationProviderTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Core/Authentication/Provider/UserAuthenticationProviderTest.php
rename to src/Symfony/Component/Security/Core/Tests/Authentication/Provider/UserAuthenticationProviderTest.php
index 1516a5f279..c2b57817e3 100644
--- a/src/Symfony/Component/Security/Tests/Core/Authentication/Provider/UserAuthenticationProviderTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Authentication/Provider/UserAuthenticationProviderTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Authentication\Provider;
+namespace Symfony\Component\Security\Core\Tests\Authentication\Provider;
use Symfony\Component\Security\Core\Authentication\Provider\UserAuthenticationProvider;
use Symfony\Component\Security\Core\Role\Role;
diff --git a/src/Symfony/Component/Security/Tests/Core/Authentication/RememberMe/InMemoryTokenProviderTest.php b/src/Symfony/Component/Security/Core/Tests/Authentication/RememberMe/InMemoryTokenProviderTest.php
similarity index 96%
rename from src/Symfony/Component/Security/Tests/Core/Authentication/RememberMe/InMemoryTokenProviderTest.php
rename to src/Symfony/Component/Security/Core/Tests/Authentication/RememberMe/InMemoryTokenProviderTest.php
index 1739714f2b..3bdf38cff6 100644
--- a/src/Symfony/Component/Security/Tests/Core/Authentication/RememberMe/InMemoryTokenProviderTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Authentication/RememberMe/InMemoryTokenProviderTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Authentication\RememberMe;
+namespace Symfony\Component\Security\Core\Tests\Authentication\RememberMe;
use Symfony\Component\Security\Core\Authentication\RememberMe\PersistentToken;
use Symfony\Component\Security\Core\Authentication\RememberMe\InMemoryTokenProvider;
diff --git a/src/Symfony/Component/Security/Tests/Core/Authentication/RememberMe/PersistentTokenTest.php b/src/Symfony/Component/Security/Core/Tests/Authentication/RememberMe/PersistentTokenTest.php
similarity index 93%
rename from src/Symfony/Component/Security/Tests/Core/Authentication/RememberMe/PersistentTokenTest.php
rename to src/Symfony/Component/Security/Core/Tests/Authentication/RememberMe/PersistentTokenTest.php
index 3903591c75..903c0309fc 100644
--- a/src/Symfony/Component/Security/Tests/Core/Authentication/RememberMe/PersistentTokenTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Authentication/RememberMe/PersistentTokenTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Authentication\RememberMe;
+namespace Symfony\Component\Security\Core\Tests\Authentication\RememberMe;
use Symfony\Component\Security\Core\Authentication\RememberMe\PersistentToken;
diff --git a/src/Symfony/Component/Security/Tests/Core/Authentication/Token/AbstractTokenTest.php b/src/Symfony/Component/Security/Core/Tests/Authentication/Token/AbstractTokenTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Core/Authentication/Token/AbstractTokenTest.php
rename to src/Symfony/Component/Security/Core/Tests/Authentication/Token/AbstractTokenTest.php
index 783c27e1bb..928ee40c8b 100644
--- a/src/Symfony/Component/Security/Tests/Core/Authentication/Token/AbstractTokenTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Authentication/Token/AbstractTokenTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Authentication\Token;
+namespace Symfony\Component\Security\Core\Tests\Authentication\Token;
use Symfony\Component\Security\Core\Role\Role;
diff --git a/src/Symfony/Component/Security/Tests/Core/Authentication/Token/AnonymousTokenTest.php b/src/Symfony/Component/Security/Core/Tests/Authentication/Token/AnonymousTokenTest.php
similarity index 94%
rename from src/Symfony/Component/Security/Tests/Core/Authentication/Token/AnonymousTokenTest.php
rename to src/Symfony/Component/Security/Core/Tests/Authentication/Token/AnonymousTokenTest.php
index 135397bff3..b5cf00683a 100644
--- a/src/Symfony/Component/Security/Tests/Core/Authentication/Token/AnonymousTokenTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Authentication/Token/AnonymousTokenTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Authentication\Token;
+namespace Symfony\Component\Security\Core\Tests\Authentication\Token;
use Symfony\Component\Security\Core\Authentication\Token\AnonymousToken;
use Symfony\Component\Security\Core\Role\Role;
diff --git a/src/Symfony/Component/Security/Tests/Core/Authentication/Token/PreAuthenticatedTokenTest.php b/src/Symfony/Component/Security/Core/Tests/Authentication/Token/PreAuthenticatedTokenTest.php
similarity index 95%
rename from src/Symfony/Component/Security/Tests/Core/Authentication/Token/PreAuthenticatedTokenTest.php
rename to src/Symfony/Component/Security/Core/Tests/Authentication/Token/PreAuthenticatedTokenTest.php
index 59a533a5b7..77d2608996 100644
--- a/src/Symfony/Component/Security/Tests/Core/Authentication/Token/PreAuthenticatedTokenTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Authentication/Token/PreAuthenticatedTokenTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Authentication\Token;
+namespace Symfony\Component\Security\Core\Tests\Authentication\Token;
use Symfony\Component\Security\Core\Authentication\Token\PreAuthenticatedToken;
use Symfony\Component\Security\Core\Role\Role;
diff --git a/src/Symfony/Component/Security/Tests/Core/Authentication/Token/RememerMeTokenTest.php b/src/Symfony/Component/Security/Core/Tests/Authentication/Token/RememerMeTokenTest.php
similarity index 96%
rename from src/Symfony/Component/Security/Tests/Core/Authentication/Token/RememerMeTokenTest.php
rename to src/Symfony/Component/Security/Core/Tests/Authentication/Token/RememerMeTokenTest.php
index 03275faa40..60d88c290c 100644
--- a/src/Symfony/Component/Security/Tests/Core/Authentication/Token/RememerMeTokenTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Authentication/Token/RememerMeTokenTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Authentication\Token;
+namespace Symfony\Component\Security\Core\Tests\Authentication\Token;
use Symfony\Component\Security\Core\Authentication\Token\RememberMeToken;
use Symfony\Component\Security\Core\Role\Role;
diff --git a/src/Symfony/Component/Security/Tests/Core/Authentication/Token/UsernamePasswordTokenTest.php b/src/Symfony/Component/Security/Core/Tests/Authentication/Token/UsernamePasswordTokenTest.php
similarity index 96%
rename from src/Symfony/Component/Security/Tests/Core/Authentication/Token/UsernamePasswordTokenTest.php
rename to src/Symfony/Component/Security/Core/Tests/Authentication/Token/UsernamePasswordTokenTest.php
index 3da20eb880..99830c73c7 100644
--- a/src/Symfony/Component/Security/Tests/Core/Authentication/Token/UsernamePasswordTokenTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Authentication/Token/UsernamePasswordTokenTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Authentication\Token;
+namespace Symfony\Component\Security\Core\Tests\Authentication\Token;
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
use Symfony\Component\Security\Core\Role\Role;
diff --git a/src/Symfony/Component/Security/Tests/Core/Authorization/AccessDecisionManagerTest.php b/src/Symfony/Component/Security/Core/Tests/Authorization/AccessDecisionManagerTest.php
similarity index 98%
rename from src/Symfony/Component/Security/Tests/Core/Authorization/AccessDecisionManagerTest.php
rename to src/Symfony/Component/Security/Core/Tests/Authorization/AccessDecisionManagerTest.php
index ead97d2bc6..0353f997b4 100644
--- a/src/Symfony/Component/Security/Tests/Core/Authorization/AccessDecisionManagerTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Authorization/AccessDecisionManagerTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Authorization;
+namespace Symfony\Component\Security\Core\Tests\Authorization;
use Symfony\Component\Security\Core\Authorization\AccessDecisionManager;
use Symfony\Component\Security\Core\Authorization\Voter\VoterInterface;
diff --git a/src/Symfony/Component/Security/Tests/Core/Authorization/Voter/AuthenticatedVoterTest.php b/src/Symfony/Component/Security/Core/Tests/Authorization/Voter/AuthenticatedVoterTest.php
similarity index 98%
rename from src/Symfony/Component/Security/Tests/Core/Authorization/Voter/AuthenticatedVoterTest.php
rename to src/Symfony/Component/Security/Core/Tests/Authorization/Voter/AuthenticatedVoterTest.php
index b077712bc9..4679c0ff0e 100644
--- a/src/Symfony/Component/Security/Tests/Core/Authorization/Voter/AuthenticatedVoterTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Authorization/Voter/AuthenticatedVoterTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Authorization\Voter;
+namespace Symfony\Component\Security\Core\Tests\Authorization\Voter;
use Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver;
use Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter;
diff --git a/src/Symfony/Component/Security/Tests/Core/Authorization/Voter/RoleHierarchyVoterTest.php b/src/Symfony/Component/Security/Core/Tests/Authorization/Voter/RoleHierarchyVoterTest.php
similarity index 94%
rename from src/Symfony/Component/Security/Tests/Core/Authorization/Voter/RoleHierarchyVoterTest.php
rename to src/Symfony/Component/Security/Core/Tests/Authorization/Voter/RoleHierarchyVoterTest.php
index a50fa791e0..c50ecf38c5 100644
--- a/src/Symfony/Component/Security/Tests/Core/Authorization/Voter/RoleHierarchyVoterTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Authorization/Voter/RoleHierarchyVoterTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Authorization\Voter;
+namespace Symfony\Component\Security\Core\Tests\Authorization\Voter;
use Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter;
use Symfony\Component\Security\Core\Authorization\Voter\VoterInterface;
diff --git a/src/Symfony/Component/Security/Tests/Core/Authorization/Voter/RoleVoterTest.php b/src/Symfony/Component/Security/Core/Tests/Authorization/Voter/RoleVoterTest.php
similarity index 96%
rename from src/Symfony/Component/Security/Tests/Core/Authorization/Voter/RoleVoterTest.php
rename to src/Symfony/Component/Security/Core/Tests/Authorization/Voter/RoleVoterTest.php
index 63608ebb3b..62e3013254 100644
--- a/src/Symfony/Component/Security/Tests/Core/Authorization/Voter/RoleVoterTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Authorization/Voter/RoleVoterTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Authorization\Voter;
+namespace Symfony\Component\Security\Core\Tests\Authorization\Voter;
use Symfony\Component\Security\Core\Authorization\Voter\RoleVoter;
use Symfony\Component\Security\Core\Authorization\Voter\VoterInterface;
diff --git a/src/Symfony/Component/Security/Tests/Core/Encoder/BCryptPasswordEncoderTest.php b/src/Symfony/Component/Security/Core/Tests/Encoder/BCryptPasswordEncoderTest.php
similarity index 97%
rename from src/Symfony/Component/Security/Tests/Core/Encoder/BCryptPasswordEncoderTest.php
rename to src/Symfony/Component/Security/Core/Tests/Encoder/BCryptPasswordEncoderTest.php
index 49c1051d2a..4780411071 100644
--- a/src/Symfony/Component/Security/Tests/Core/Encoder/BCryptPasswordEncoderTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Encoder/BCryptPasswordEncoderTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Encoder;
+namespace Symfony\Component\Security\Core\Tests\Encoder;
use Symfony\Component\Security\Core\Encoder\BCryptPasswordEncoder;
diff --git a/src/Symfony/Component/Security/Tests/Core/Encoder/BasePasswordEncoderTest.php b/src/Symfony/Component/Security/Core/Tests/Encoder/BasePasswordEncoderTest.php
similarity index 97%
rename from src/Symfony/Component/Security/Tests/Core/Encoder/BasePasswordEncoderTest.php
rename to src/Symfony/Component/Security/Core/Tests/Encoder/BasePasswordEncoderTest.php
index 2ef1dcce9e..73fac2eefe 100644
--- a/src/Symfony/Component/Security/Tests/Core/Encoder/BasePasswordEncoderTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Encoder/BasePasswordEncoderTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Encoder;
+namespace Symfony\Component\Security\Core\Tests\Encoder;
use Symfony\Component\Security\Core\Encoder\BasePasswordEncoder;
diff --git a/src/Symfony/Component/Security/Tests/Core/Encoder/EncoderFactoryTest.php b/src/Symfony/Component/Security/Core/Tests/Encoder/EncoderFactoryTest.php
similarity index 94%
rename from src/Symfony/Component/Security/Tests/Core/Encoder/EncoderFactoryTest.php
rename to src/Symfony/Component/Security/Core/Tests/Encoder/EncoderFactoryTest.php
index 2e55a4b6f8..18c8c4a9b0 100644
--- a/src/Symfony/Component/Security/Tests/Core/Encoder/EncoderFactoryTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Encoder/EncoderFactoryTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Encoder;
+namespace Symfony\Component\Security\Core\Tests\Encoder;
use Symfony\Component\Security\Core\Encoder\MessageDigestPasswordEncoder;
use Symfony\Component\Security\Core\Encoder\EncoderFactory;
@@ -52,7 +52,7 @@ class EncoderFactoryTest extends \PHPUnit_Framework_TestCase
'Symfony\Component\Security\Core\User\UserInterface' => new MessageDigestPasswordEncoder('sha1'),
));
- $encoder = $factory->getEncoder('Symfony\Component\Security\Tests\Core\Encoder\SomeChildUser');
+ $encoder = $factory->getEncoder('Symfony\Component\Security\Core\Tests\Encoder\SomeChildUser');
$expectedEncoder = new MessageDigestPasswordEncoder('sha1');
$this->assertEquals($expectedEncoder->encodePassword('foo', ''), $encoder->encodePassword('foo', ''));
}
@@ -71,10 +71,10 @@ class EncoderFactoryTest extends \PHPUnit_Framework_TestCase
public function testGetEncoderConfiguredForConcreteClassWithClassName()
{
$factory = new EncoderFactory(array(
- 'Symfony\Component\Security\Tests\Core\Encoder\SomeUser' => new MessageDigestPasswordEncoder('sha1'),
+ 'Symfony\Component\Security\Core\Tests\Encoder\SomeUser' => new MessageDigestPasswordEncoder('sha1'),
));
- $encoder = $factory->getEncoder('Symfony\Component\Security\Tests\Core\Encoder\SomeChildUser');
+ $encoder = $factory->getEncoder('Symfony\Component\Security\Core\Tests\Encoder\SomeChildUser');
$expectedEncoder = new MessageDigestPasswordEncoder('sha1');
$this->assertEquals($expectedEncoder->encodePassword('foo', ''), $encoder->encodePassword('foo', ''));
}
diff --git a/src/Symfony/Component/Security/Tests/Core/Encoder/MessageDigestPasswordEncoderTest.php b/src/Symfony/Component/Security/Core/Tests/Encoder/MessageDigestPasswordEncoderTest.php
similarity index 96%
rename from src/Symfony/Component/Security/Tests/Core/Encoder/MessageDigestPasswordEncoderTest.php
rename to src/Symfony/Component/Security/Core/Tests/Encoder/MessageDigestPasswordEncoderTest.php
index 64032c4bf9..550d08e484 100644
--- a/src/Symfony/Component/Security/Tests/Core/Encoder/MessageDigestPasswordEncoderTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Encoder/MessageDigestPasswordEncoderTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Encoder;
+namespace Symfony\Component\Security\Core\Tests\Encoder;
use Symfony\Component\Security\Core\Encoder\MessageDigestPasswordEncoder;
diff --git a/src/Symfony/Component/Security/Tests/Core/Encoder/Pbkdf2PasswordEncoderTest.php b/src/Symfony/Component/Security/Core/Tests/Encoder/Pbkdf2PasswordEncoderTest.php
similarity index 96%
rename from src/Symfony/Component/Security/Tests/Core/Encoder/Pbkdf2PasswordEncoderTest.php
rename to src/Symfony/Component/Security/Core/Tests/Encoder/Pbkdf2PasswordEncoderTest.php
index 2c985439f2..ba5c4d589e 100644
--- a/src/Symfony/Component/Security/Tests/Core/Encoder/Pbkdf2PasswordEncoderTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Encoder/Pbkdf2PasswordEncoderTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Encoder;
+namespace Symfony\Component\Security\Core\Tests\Encoder;
use Symfony\Component\Security\Core\Encoder\Pbkdf2PasswordEncoder;
diff --git a/src/Symfony/Component/Security/Tests/Core/Encoder/PlaintextPasswordEncoderTest.php b/src/Symfony/Component/Security/Core/Tests/Encoder/PlaintextPasswordEncoderTest.php
similarity index 95%
rename from src/Symfony/Component/Security/Tests/Core/Encoder/PlaintextPasswordEncoderTest.php
rename to src/Symfony/Component/Security/Core/Tests/Encoder/PlaintextPasswordEncoderTest.php
index af0008f927..513a94a75d 100644
--- a/src/Symfony/Component/Security/Tests/Core/Encoder/PlaintextPasswordEncoderTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Encoder/PlaintextPasswordEncoderTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Encoder;
+namespace Symfony\Component\Security\Core\Tests\Encoder;
use Symfony\Component\Security\Core\Encoder\PlaintextPasswordEncoder;
diff --git a/src/Symfony/Component/Security/Tests/Core/Role/RoleHierarchyTest.php b/src/Symfony/Component/Security/Core/Tests/Role/RoleHierarchyTest.php
similarity index 96%
rename from src/Symfony/Component/Security/Tests/Core/Role/RoleHierarchyTest.php
rename to src/Symfony/Component/Security/Core/Tests/Role/RoleHierarchyTest.php
index a98aed617c..df1b6a3300 100644
--- a/src/Symfony/Component/Security/Tests/Core/Role/RoleHierarchyTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Role/RoleHierarchyTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Role;
+namespace Symfony\Component\Security\Core\Tests\Role;
use Symfony\Component\Security\Core\Role\RoleHierarchy;
use Symfony\Component\Security\Core\Role\Role;
diff --git a/src/Symfony/Component/Security/Tests/Core/Role/RoleTest.php b/src/Symfony/Component/Security/Core/Tests/Role/RoleTest.php
similarity index 89%
rename from src/Symfony/Component/Security/Tests/Core/Role/RoleTest.php
rename to src/Symfony/Component/Security/Core/Tests/Role/RoleTest.php
index e2e7ca86b6..02be07b2e0 100644
--- a/src/Symfony/Component/Security/Tests/Core/Role/RoleTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Role/RoleTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Role;
+namespace Symfony\Component\Security\Core\Tests\Role;
use Symfony\Component\Security\Core\Role\Role;
diff --git a/src/Symfony/Component/Security/Tests/Core/Role/SwitchUserRoleTest.php b/src/Symfony/Component/Security/Core/Tests/Role/SwitchUserRoleTest.php
similarity index 93%
rename from src/Symfony/Component/Security/Tests/Core/Role/SwitchUserRoleTest.php
rename to src/Symfony/Component/Security/Core/Tests/Role/SwitchUserRoleTest.php
index bf9b173e3b..f0ce468637 100644
--- a/src/Symfony/Component/Security/Tests/Core/Role/SwitchUserRoleTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Role/SwitchUserRoleTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Role;
+namespace Symfony\Component\Security\Core\Tests\Role;
use Symfony\Component\Security\Core\Role\SwitchUserRole;
diff --git a/src/Symfony/Component/Security/Tests/Core/SecurityContextTest.php b/src/Symfony/Component/Security/Core/Tests/SecurityContextTest.php
similarity index 98%
rename from src/Symfony/Component/Security/Tests/Core/SecurityContextTest.php
rename to src/Symfony/Component/Security/Core/Tests/SecurityContextTest.php
index 124ebf9f44..dd0e2e3a88 100644
--- a/src/Symfony/Component/Security/Tests/Core/SecurityContextTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/SecurityContextTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core;
+namespace Symfony\Component\Security\Core\Tests;
use Symfony\Component\Security\Core\SecurityContext;
diff --git a/src/Symfony/Component/Security/Tests/Core/User/AccountCheckerTest.php b/src/Symfony/Component/Security/Core/Tests/User/AccountCheckerTest.php
similarity index 98%
rename from src/Symfony/Component/Security/Tests/Core/User/AccountCheckerTest.php
rename to src/Symfony/Component/Security/Core/Tests/User/AccountCheckerTest.php
index f28067f1dd..8d5e203c0c 100644
--- a/src/Symfony/Component/Security/Tests/Core/User/AccountCheckerTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/User/AccountCheckerTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\User;
+namespace Symfony\Component\Security\Core\Tests\User;
use Symfony\Component\Security\Core\User\UserChecker;
diff --git a/src/Symfony/Component/Security/Tests/Core/User/ChainUserProviderTest.php b/src/Symfony/Component/Security/Core/Tests/User/ChainUserProviderTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Core/User/ChainUserProviderTest.php
rename to src/Symfony/Component/Security/Core/Tests/User/ChainUserProviderTest.php
index 0fddcd668b..57873cfaac 100644
--- a/src/Symfony/Component/Security/Tests/Core/User/ChainUserProviderTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/User/ChainUserProviderTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\User;
+namespace Symfony\Component\Security\Core\Tests\User;
use Symfony\Component\Security\Core\Exception\UnsupportedUserException;
diff --git a/src/Symfony/Component/Security/Tests/Core/User/InMemoryProviderTest.php b/src/Symfony/Component/Security/Core/Tests/User/InMemoryProviderTest.php
similarity index 97%
rename from src/Symfony/Component/Security/Tests/Core/User/InMemoryProviderTest.php
rename to src/Symfony/Component/Security/Core/Tests/User/InMemoryProviderTest.php
index 5197a29702..5d6cadc877 100644
--- a/src/Symfony/Component/Security/Tests/Core/User/InMemoryProviderTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/User/InMemoryProviderTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\User;
+namespace Symfony\Component\Security\Core\Tests\User;
use Symfony\Component\Security\Core\User\InMemoryUserProvider;
use Symfony\Component\Security\Core\User\User;
diff --git a/src/Symfony/Component/Security/Tests/Core/User/UserTest.php b/src/Symfony/Component/Security/Core/Tests/User/UserTest.php
similarity index 98%
rename from src/Symfony/Component/Security/Tests/Core/User/UserTest.php
rename to src/Symfony/Component/Security/Core/Tests/User/UserTest.php
index 26e562f1fd..7d4cf95221 100644
--- a/src/Symfony/Component/Security/Tests/Core/User/UserTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/User/UserTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\User;
+namespace Symfony\Component\Security\Core\Tests\User;
use Symfony\Component\Security\Core\User\User;
diff --git a/src/Symfony/Component/Security/Tests/Core/Util/ClassUtilsTest.php b/src/Symfony/Component/Security/Core/Tests/Util/ClassUtilsTest.php
similarity index 77%
rename from src/Symfony/Component/Security/Tests/Core/Util/ClassUtilsTest.php
rename to src/Symfony/Component/Security/Core/Tests/Util/ClassUtilsTest.php
index 8359236f65..e8f0143eb7 100644
--- a/src/Symfony/Component/Security/Tests/Core/Util/ClassUtilsTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Util/ClassUtilsTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Util
+namespace Symfony\Component\Security\Core\Tests\Util
{
use Symfony\Component\Security\Core\Util\ClassUtils;
@@ -22,9 +22,9 @@ namespace Symfony\Component\Security\Tests\Core\Util
array('Symfony\Component\Security\Core\Util\ClassUtils', 'Symfony\Component\Security\Core\Util\ClassUtils'),
array('MyProject\Proxies\__CG__\stdClass', 'stdClass'),
array('MyProject\Proxies\__CG__\OtherProject\Proxies\__CG__\stdClass', 'stdClass'),
- array('MyProject\Proxies\__CG__\Symfony\Component\Security\Tests\Core\Util\ChildObject', 'Symfony\Component\Security\Tests\Core\Util\ChildObject'),
- array(new TestObject(), 'Symfony\Component\Security\Tests\Core\Util\TestObject'),
- array(new \Acme\DemoBundle\Proxy\__CG__\Symfony\Component\Security\Tests\Core\Util\TestObject(), 'Symfony\Component\Security\Tests\Core\Util\TestObject'),
+ array('MyProject\Proxies\__CG__\Symfony\Component\Security\Core\Tests\Util\ChildObject', 'Symfony\Component\Security\Core\Tests\Util\ChildObject'),
+ array(new TestObject(), 'Symfony\Component\Security\Core\Tests\Util\TestObject'),
+ array(new \Acme\DemoBundle\Proxy\__CG__\Symfony\Component\Security\Core\Tests\Util\TestObject(), 'Symfony\Component\Security\Core\Tests\Util\TestObject'),
);
}
@@ -42,9 +42,9 @@ namespace Symfony\Component\Security\Tests\Core\Util
}
}
-namespace Acme\DemoBundle\Proxy\__CG__\Symfony\Component\Security\Tests\Core\Util
+namespace Acme\DemoBundle\Proxy\__CG__\Symfony\Component\Security\Core\Tests\Util
{
- class TestObject extends \Symfony\Component\Security\Tests\Core\Util\TestObject
+ class TestObject extends \Symfony\Component\Security\Core\Tests\Util\TestObject
{
}
}
diff --git a/src/Symfony/Component/Security/Tests/Core/Util/SecureRandomTest.php b/src/Symfony/Component/Security/Core/Tests/Util/SecureRandomTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Core/Util/SecureRandomTest.php
rename to src/Symfony/Component/Security/Core/Tests/Util/SecureRandomTest.php
index c7ed016673..91d0489e86 100644
--- a/src/Symfony/Component/Security/Tests/Core/Util/SecureRandomTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Util/SecureRandomTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Util;
+namespace Symfony\Component\Security\Core\Tests\Util;
use Symfony\Component\Security\Core\Util\SecureRandom;
diff --git a/src/Symfony/Component/Security/Tests/Core/Util/StringUtilsTest.php b/src/Symfony/Component/Security/Core/Tests/Util/StringUtilsTest.php
similarity index 90%
rename from src/Symfony/Component/Security/Tests/Core/Util/StringUtilsTest.php
rename to src/Symfony/Component/Security/Core/Tests/Util/StringUtilsTest.php
index aac4139254..89da98de66 100644
--- a/src/Symfony/Component/Security/Tests/Core/Util/StringUtilsTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Util/StringUtilsTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Util;
+namespace Symfony\Component\Security\Core\Tests\Util;
use Symfony\Component\Security\Core\Util\StringUtils;
diff --git a/src/Symfony/Component/Security/Tests/Core/Validator/Constraints/UserPasswordValidatorTest.php b/src/Symfony/Component/Security/Core/Tests/Validator/Constraints/UserPasswordValidatorTest.php
similarity index 98%
rename from src/Symfony/Component/Security/Tests/Core/Validator/Constraints/UserPasswordValidatorTest.php
rename to src/Symfony/Component/Security/Core/Tests/Validator/Constraints/UserPasswordValidatorTest.php
index 93bff3c8a8..53eeb5fed7 100644
--- a/src/Symfony/Component/Security/Tests/Core/Validator/Constraints/UserPasswordValidatorTest.php
+++ b/src/Symfony/Component/Security/Core/Tests/Validator/Constraints/UserPasswordValidatorTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Core\Validator\Constraints;
+namespace Symfony\Component\Security\Core\Tests\Validator\Constraints;
use Symfony\Component\Security\Core\Validator\Constraints\UserPassword;
use Symfony\Component\Security\Core\Validator\Constraints\UserPasswordValidator;
diff --git a/src/Symfony/Component/Security/Core/composer.json b/src/Symfony/Component/Security/Core/composer.json
new file mode 100644
index 0000000000..4e7ff3a650
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/composer.json
@@ -0,0 +1,44 @@
+{
+ "name": "symfony/security-core",
+ "type": "library",
+ "description": "Symfony Security Component - Core Library",
+ "keywords": [],
+ "homepage": "http://symfony.com",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "http://symfony.com/contributors"
+ }
+ ],
+ "require": {
+ "php": ">=5.3.3"
+ },
+ "require-dev": {
+ "symfony/event-dispatcher": "~2.1",
+ "symfony/http-foundation": "~2.4",
+ "symfony/validator": "~2.2",
+ "psr/log": "~1.0",
+ "ircmaxell/password-compat": "1.0.*"
+ },
+ "suggest": {
+ "symfony/event-dispatcher": "",
+ "symfony/http-foundation": "",
+ "symfony/validator": "",
+ "ircmaxell/password-compat": ""
+ },
+ "autoload": {
+ "psr-0": { "Symfony\\Component\\Security\\Core\\": "" }
+ },
+ "target-dir": "Symfony/Component/Security/Core",
+ "minimum-stability": "dev",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.4-dev"
+ }
+ }
+}
diff --git a/src/Symfony/Component/Security/Core/phpunit.xml.dist b/src/Symfony/Component/Security/Core/phpunit.xml.dist
new file mode 100644
index 0000000000..f085b7255b
--- /dev/null
+++ b/src/Symfony/Component/Security/Core/phpunit.xml.dist
@@ -0,0 +1,29 @@
+
+
+
+
+
+ ./Tests/
+
+
+
+
+
+ ./
+
+ ./vendor
+ ./Tests
+
+
+
+
diff --git a/src/Symfony/Component/Security/Http/.gitignore b/src/Symfony/Component/Security/Http/.gitignore
new file mode 100644
index 0000000000..c49a5d8df5
--- /dev/null
+++ b/src/Symfony/Component/Security/Http/.gitignore
@@ -0,0 +1,3 @@
+vendor/
+composer.lock
+phpunit.xml
diff --git a/src/Symfony/Component/Security/Http/LICENSE b/src/Symfony/Component/Security/Http/LICENSE
new file mode 100644
index 0000000000..88a57f8d8d
--- /dev/null
+++ b/src/Symfony/Component/Security/Http/LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2004-2013 Fabien Potencier
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is furnished
+to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/src/Symfony/Component/Security/Http/README.md b/src/Symfony/Component/Security/Http/README.md
new file mode 100644
index 0000000000..187f2b4423
--- /dev/null
+++ b/src/Symfony/Component/Security/Http/README.md
@@ -0,0 +1,23 @@
+Security Component - HTTP Integration
+=====================================
+
+Security provides an infrastructure for sophisticated authorization systems,
+which makes it possible to easily separate the actual authorization logic from
+so called user providers that hold the users credentials. It is inspired by
+the Java Spring framework.
+
+Resources
+---------
+
+Documentation:
+
+http://symfony.com/doc/2.4/book/security.html
+
+Tests
+-----
+
+You can run the unit tests with the following command:
+
+ $ cd path/to/Symfony/Component/Security/Http/
+ $ composer.phar install --dev
+ $ phpunit
diff --git a/src/Symfony/Component/Security/Tests/Http/AccessMapTest.php b/src/Symfony/Component/Security/Http/Tests/AccessMapTest.php
similarity index 97%
rename from src/Symfony/Component/Security/Tests/Http/AccessMapTest.php
rename to src/Symfony/Component/Security/Http/Tests/AccessMapTest.php
index c2d9b7f87c..d8ab7aae90 100644
--- a/src/Symfony/Component/Security/Tests/Http/AccessMapTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/AccessMapTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http;
+namespace Symfony\Component\Security\Http\Tests;
use Symfony\Component\Security\Http\AccessMap;
diff --git a/src/Symfony/Component/Security/Tests/Http/Authentication/DefaultAuthenticationFailureHandlerTest.php b/src/Symfony/Component/Security/Http/Tests/Authentication/DefaultAuthenticationFailureHandlerTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Http/Authentication/DefaultAuthenticationFailureHandlerTest.php
rename to src/Symfony/Component/Security/Http/Tests/Authentication/DefaultAuthenticationFailureHandlerTest.php
index b741ced6bf..097c92652f 100644
--- a/src/Symfony/Component/Security/Tests/Http/Authentication/DefaultAuthenticationFailureHandlerTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/Authentication/DefaultAuthenticationFailureHandlerTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http;
+namespace Symfony\Component\Security\Http\Tests;
use Symfony\Component\Security\Http\Authentication\DefaultAuthenticationFailureHandler;
use Symfony\Component\Security\Core\SecurityContextInterface;
diff --git a/src/Symfony/Component/Security/Tests/Http/Authentication/DefaultAuthenticationSuccessHandlerTest.php b/src/Symfony/Component/Security/Http/Tests/Authentication/DefaultAuthenticationSuccessHandlerTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Http/Authentication/DefaultAuthenticationSuccessHandlerTest.php
rename to src/Symfony/Component/Security/Http/Tests/Authentication/DefaultAuthenticationSuccessHandlerTest.php
index 3ba6a1718f..fa0ebd4a8c 100644
--- a/src/Symfony/Component/Security/Tests/Http/Authentication/DefaultAuthenticationSuccessHandlerTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/Authentication/DefaultAuthenticationSuccessHandlerTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http;
+namespace Symfony\Component\Security\Http\Tests;
use Symfony\Component\Security\Http\Authentication\DefaultAuthenticationSuccessHandler;
diff --git a/src/Symfony/Component/Security/Tests/Http/EntryPoint/BasicAuthenticationEntryPointTest.php b/src/Symfony/Component/Security/Http/Tests/EntryPoint/BasicAuthenticationEntryPointTest.php
similarity index 95%
rename from src/Symfony/Component/Security/Tests/Http/EntryPoint/BasicAuthenticationEntryPointTest.php
rename to src/Symfony/Component/Security/Http/Tests/EntryPoint/BasicAuthenticationEntryPointTest.php
index 564078956b..ca5922c8df 100644
--- a/src/Symfony/Component/Security/Tests/Http/EntryPoint/BasicAuthenticationEntryPointTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/EntryPoint/BasicAuthenticationEntryPointTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\EntryPoint;
+namespace Symfony\Component\Security\Http\Tests\EntryPoint;
use Symfony\Component\Security\Http\EntryPoint\BasicAuthenticationEntryPoint;
use Symfony\Component\Security\Core\Exception\AuthenticationException;
diff --git a/src/Symfony/Component/Security/Tests/Http/EntryPoint/DigestAuthenticationEntryPointTest.php b/src/Symfony/Component/Security/Http/Tests/EntryPoint/DigestAuthenticationEntryPointTest.php
similarity index 97%
rename from src/Symfony/Component/Security/Tests/Http/EntryPoint/DigestAuthenticationEntryPointTest.php
rename to src/Symfony/Component/Security/Http/Tests/EntryPoint/DigestAuthenticationEntryPointTest.php
index 5c6eccc842..181e340e60 100644
--- a/src/Symfony/Component/Security/Tests/Http/EntryPoint/DigestAuthenticationEntryPointTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/EntryPoint/DigestAuthenticationEntryPointTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\EntryPoint;
+namespace Symfony\Component\Security\Http\Tests\EntryPoint;
use Symfony\Component\Security\Http\EntryPoint\DigestAuthenticationEntryPoint;
use Symfony\Component\Security\Core\Exception\AuthenticationException;
diff --git a/src/Symfony/Component/Security/Tests/Http/EntryPoint/FormAuthenticationEntryPointTest.php b/src/Symfony/Component/Security/Http/Tests/EntryPoint/FormAuthenticationEntryPointTest.php
similarity index 97%
rename from src/Symfony/Component/Security/Tests/Http/EntryPoint/FormAuthenticationEntryPointTest.php
rename to src/Symfony/Component/Security/Http/Tests/EntryPoint/FormAuthenticationEntryPointTest.php
index 097912dd87..3acb9c2616 100644
--- a/src/Symfony/Component/Security/Tests/Http/EntryPoint/FormAuthenticationEntryPointTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/EntryPoint/FormAuthenticationEntryPointTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\EntryPoint;
+namespace Symfony\Component\Security\Http\Tests\EntryPoint;
use Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint;
use Symfony\Component\HttpKernel\HttpKernelInterface;
diff --git a/src/Symfony/Component/Security/Tests/Http/EntryPoint/RetryAuthenticationEntryPointTest.php b/src/Symfony/Component/Security/Http/Tests/EntryPoint/RetryAuthenticationEntryPointTest.php
similarity index 96%
rename from src/Symfony/Component/Security/Tests/Http/EntryPoint/RetryAuthenticationEntryPointTest.php
rename to src/Symfony/Component/Security/Http/Tests/EntryPoint/RetryAuthenticationEntryPointTest.php
index 1d918ac02e..f4e5425933 100644
--- a/src/Symfony/Component/Security/Tests/Http/EntryPoint/RetryAuthenticationEntryPointTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/EntryPoint/RetryAuthenticationEntryPointTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\EntryPoint;
+namespace Symfony\Component\Security\Http\Tests\EntryPoint;
use Symfony\Component\Security\Http\EntryPoint\RetryAuthenticationEntryPoint;
use Symfony\Component\HttpFoundation\Request;
diff --git a/src/Symfony/Component/Security/Tests/Http/Firewall/AbstractPreAuthenticatedListenerTest.php b/src/Symfony/Component/Security/Http/Tests/Firewall/AbstractPreAuthenticatedListenerTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Http/Firewall/AbstractPreAuthenticatedListenerTest.php
rename to src/Symfony/Component/Security/Http/Tests/Firewall/AbstractPreAuthenticatedListenerTest.php
index e57514b37a..57a91cf67c 100644
--- a/src/Symfony/Component/Security/Tests/Http/Firewall/AbstractPreAuthenticatedListenerTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/Firewall/AbstractPreAuthenticatedListenerTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\Firewall;
+namespace Symfony\Component\Security\Http\Tests\Firewall;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Security\Core\Authentication\Token\PreAuthenticatedToken;
diff --git a/src/Symfony/Component/Security/Tests/Http/Firewall/AccessListenerTest.php b/src/Symfony/Component/Security/Http/Tests/Firewall/AccessListenerTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Http/Firewall/AccessListenerTest.php
rename to src/Symfony/Component/Security/Http/Tests/Firewall/AccessListenerTest.php
index 961c792d36..f9b0f3c4a1 100644
--- a/src/Symfony/Component/Security/Tests/Http/Firewall/AccessListenerTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/Firewall/AccessListenerTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\Firewall;
+namespace Symfony\Component\Security\Http\Tests\Firewall;
use Symfony\Component\Security\Http\Firewall\AccessListener;
diff --git a/src/Symfony/Component/Security/Tests/Http/Firewall/AnonymousAuthenticationListenerTest.php b/src/Symfony/Component/Security/Http/Tests/Firewall/AnonymousAuthenticationListenerTest.php
similarity index 97%
rename from src/Symfony/Component/Security/Tests/Http/Firewall/AnonymousAuthenticationListenerTest.php
rename to src/Symfony/Component/Security/Http/Tests/Firewall/AnonymousAuthenticationListenerTest.php
index 0fd43ec6b2..1fb7350c6c 100644
--- a/src/Symfony/Component/Security/Tests/Http/Firewall/AnonymousAuthenticationListenerTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/Firewall/AnonymousAuthenticationListenerTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\Firewall;
+namespace Symfony\Component\Security\Http\Tests\Firewall;
use Symfony\Component\Security\Http\Firewall\AnonymousAuthenticationListener;
diff --git a/src/Symfony/Component/Security/Tests/Http/Firewall/BasicAuthenticationListenerTest.php b/src/Symfony/Component/Security/Http/Tests/Firewall/BasicAuthenticationListenerTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Http/Firewall/BasicAuthenticationListenerTest.php
rename to src/Symfony/Component/Security/Http/Tests/Firewall/BasicAuthenticationListenerTest.php
index b5235981f1..eb51f5f38d 100644
--- a/src/Symfony/Component/Security/Tests/Http/Firewall/BasicAuthenticationListenerTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/Firewall/BasicAuthenticationListenerTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\Firewall;
+namespace Symfony\Component\Security\Http\Tests\Firewall;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Security\Core\Authentication\Token\PreAuthenticatedToken;
diff --git a/src/Symfony/Component/Security/Tests/Http/Firewall/ChannelListenerTest.php b/src/Symfony/Component/Security/Http/Tests/Firewall/ChannelListenerTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Http/Firewall/ChannelListenerTest.php
rename to src/Symfony/Component/Security/Http/Tests/Firewall/ChannelListenerTest.php
index 2005a2b138..2b27e7558c 100644
--- a/src/Symfony/Component/Security/Tests/Http/Firewall/ChannelListenerTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/Firewall/ChannelListenerTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\Firewall;
+namespace Symfony\Component\Security\Http\Tests\Firewall;
use Symfony\Component\Security\Http\Firewall\ChannelListener;
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
diff --git a/src/Symfony/Component/Security/Tests/Http/Firewall/ContextListenerTest.php b/src/Symfony/Component/Security/Http/Tests/Firewall/ContextListenerTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Http/Firewall/ContextListenerTest.php
rename to src/Symfony/Component/Security/Http/Tests/Firewall/ContextListenerTest.php
index 68af9a7e1b..c153fd5d88 100644
--- a/src/Symfony/Component/Security/Tests/Http/Firewall/ContextListenerTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/Firewall/ContextListenerTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\Firewall;
+namespace Symfony\Component\Security\Http\Tests\Firewall;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
diff --git a/src/Symfony/Component/Security/Tests/Http/Firewall/DigestDataTest.php b/src/Symfony/Component/Security/Http/Tests/Firewall/DigestDataTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Http/Firewall/DigestDataTest.php
rename to src/Symfony/Component/Security/Http/Tests/Firewall/DigestDataTest.php
index 8b63d9c953..86a5327c50 100644
--- a/src/Symfony/Component/Security/Tests/Http/Firewall/DigestDataTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/Firewall/DigestDataTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\Firewall;
+namespace Symfony\Component\Security\Http\Tests\Firewall;
use Symfony\Component\Security\Http\Firewall\DigestData;
diff --git a/src/Symfony/Component/Security/Tests/Http/Firewall/LogoutListenerTest.php b/src/Symfony/Component/Security/Http/Tests/Firewall/LogoutListenerTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Http/Firewall/LogoutListenerTest.php
rename to src/Symfony/Component/Security/Http/Tests/Firewall/LogoutListenerTest.php
index 2c26678ef9..719b6849cf 100644
--- a/src/Symfony/Component/Security/Tests/Http/Firewall/LogoutListenerTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/Firewall/LogoutListenerTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\Firewall;
+namespace Symfony\Component\Security\Http\Tests\Firewall;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
diff --git a/src/Symfony/Component/Security/Tests/Http/Firewall/RememberMeListenerTest.php b/src/Symfony/Component/Security/Http/Tests/Firewall/RememberMeListenerTest.php
similarity index 98%
rename from src/Symfony/Component/Security/Tests/Http/Firewall/RememberMeListenerTest.php
rename to src/Symfony/Component/Security/Http/Tests/Firewall/RememberMeListenerTest.php
index 922f99bd81..950669282c 100644
--- a/src/Symfony/Component/Security/Tests/Http/Firewall/RememberMeListenerTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/Firewall/RememberMeListenerTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\Firewall;
+namespace Symfony\Component\Security\Http\Tests\Firewall;
use Symfony\Component\Security\Core\Exception\AuthenticationException;
use Symfony\Component\Security\Http\Firewall\RememberMeListener;
diff --git a/src/Symfony/Component/Security/Tests/Http/Firewall/SwitchUserListenerTest.php b/src/Symfony/Component/Security/Http/Tests/Firewall/SwitchUserListenerTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Http/Firewall/SwitchUserListenerTest.php
rename to src/Symfony/Component/Security/Http/Tests/Firewall/SwitchUserListenerTest.php
index feb10b8270..f331f0ede5 100644
--- a/src/Symfony/Component/Security/Tests/Http/Firewall/SwitchUserListenerTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/Firewall/SwitchUserListenerTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\Firewall;
+namespace Symfony\Component\Security\Http\Tests\Firewall;
use Symfony\Component\Security\Http\Firewall\SwitchUserListener;
diff --git a/src/Symfony/Component/Security/Tests/Http/Firewall/X509AuthenticationListenerTest.php b/src/Symfony/Component/Security/Http/Tests/Firewall/X509AuthenticationListenerTest.php
similarity index 98%
rename from src/Symfony/Component/Security/Tests/Http/Firewall/X509AuthenticationListenerTest.php
rename to src/Symfony/Component/Security/Http/Tests/Firewall/X509AuthenticationListenerTest.php
index 77e5e6a52c..17245912e6 100644
--- a/src/Symfony/Component/Security/Tests/Http/Firewall/X509AuthenticationListenerTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/Firewall/X509AuthenticationListenerTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\Firewall;
+namespace Symfony\Component\Security\Http\Tests\Firewall;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Security\Http\Firewall\X509AuthenticationListener;
diff --git a/src/Symfony/Component/Security/Tests/Http/FirewallMapTest.php b/src/Symfony/Component/Security/Http/Tests/FirewallMapTest.php
similarity index 98%
rename from src/Symfony/Component/Security/Tests/Http/FirewallMapTest.php
rename to src/Symfony/Component/Security/Http/Tests/FirewallMapTest.php
index 5d3a72af1c..85a57ab82c 100644
--- a/src/Symfony/Component/Security/Tests/Http/FirewallMapTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/FirewallMapTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http;
+namespace Symfony\Component\Security\Http\Tests;
use Symfony\Component\Security\Http\FirewallMap;
use Symfony\Component\HttpFoundation\Request;
diff --git a/src/Symfony/Component/Security/Tests/Http/FirewallTest.php b/src/Symfony/Component/Security/Http/Tests/FirewallTest.php
similarity index 98%
rename from src/Symfony/Component/Security/Tests/Http/FirewallTest.php
rename to src/Symfony/Component/Security/Http/Tests/FirewallTest.php
index 1ea7e57424..67f4f150fd 100644
--- a/src/Symfony/Component/Security/Tests/Http/FirewallTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/FirewallTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http;
+namespace Symfony\Component\Security\Http\Tests;
use Symfony\Component\Security\Http\Firewall;
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
diff --git a/src/Symfony/Component/Security/Tests/Http/HttpUtilsTest.php b/src/Symfony/Component/Security/Http/Tests/HttpUtilsTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Http/HttpUtilsTest.php
rename to src/Symfony/Component/Security/Http/Tests/HttpUtilsTest.php
index 07a3ee9924..90380eae9a 100644
--- a/src/Symfony/Component/Security/Tests/Http/HttpUtilsTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/HttpUtilsTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http;
+namespace Symfony\Component\Security\Http\Tests;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
diff --git a/src/Symfony/Component/Security/Tests/Http/Logout/CookieClearingLogoutHandlerTest.php b/src/Symfony/Component/Security/Http/Tests/Logout/CookieClearingLogoutHandlerTest.php
similarity index 96%
rename from src/Symfony/Component/Security/Tests/Http/Logout/CookieClearingLogoutHandlerTest.php
rename to src/Symfony/Component/Security/Http/Tests/Logout/CookieClearingLogoutHandlerTest.php
index c443d8d0db..84745040c8 100644
--- a/src/Symfony/Component/Security/Tests/Http/Logout/CookieClearingLogoutHandlerTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/Logout/CookieClearingLogoutHandlerTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\Logout;
+namespace Symfony\Component\Security\Http\Tests\Logout;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\ResponseHeaderBag;
diff --git a/src/Symfony/Component/Security/Tests/Http/Logout/DefaultLogoutSuccessHandlerTest.php b/src/Symfony/Component/Security/Http/Tests/Logout/DefaultLogoutSuccessHandlerTest.php
similarity index 95%
rename from src/Symfony/Component/Security/Tests/Http/Logout/DefaultLogoutSuccessHandlerTest.php
rename to src/Symfony/Component/Security/Http/Tests/Logout/DefaultLogoutSuccessHandlerTest.php
index ed65d6b1c9..76a8cd99c3 100644
--- a/src/Symfony/Component/Security/Tests/Http/Logout/DefaultLogoutSuccessHandlerTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/Logout/DefaultLogoutSuccessHandlerTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\Logout;
+namespace Symfony\Component\Security\Http\Tests\Logout;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler;
diff --git a/src/Symfony/Component/Security/Tests/Http/Logout/SessionLogoutHandlerTest.php b/src/Symfony/Component/Security/Http/Tests/Logout/SessionLogoutHandlerTest.php
similarity index 95%
rename from src/Symfony/Component/Security/Tests/Http/Logout/SessionLogoutHandlerTest.php
rename to src/Symfony/Component/Security/Http/Tests/Logout/SessionLogoutHandlerTest.php
index f89a423e59..c3429951fc 100644
--- a/src/Symfony/Component/Security/Tests/Http/Logout/SessionLogoutHandlerTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/Logout/SessionLogoutHandlerTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\Logout;
+namespace Symfony\Component\Security\Http\Tests\Logout;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Security\Http\Logout\SessionLogoutHandler;
diff --git a/src/Symfony/Component/Security/Tests/Http/RememberMe/AbstractRememberMeServicesTest.php b/src/Symfony/Component/Security/Http/Tests/RememberMe/AbstractRememberMeServicesTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Http/RememberMe/AbstractRememberMeServicesTest.php
rename to src/Symfony/Component/Security/Http/Tests/RememberMe/AbstractRememberMeServicesTest.php
index 20ac1951ff..3c4b10d6c5 100644
--- a/src/Symfony/Component/Security/Tests/Http/RememberMe/AbstractRememberMeServicesTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/RememberMe/AbstractRememberMeServicesTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\RememberMe;
+namespace Symfony\Component\Security\Http\Tests\RememberMe;
use Symfony\Component\Security\Http\RememberMe\RememberMeServicesInterface;
use Symfony\Component\HttpFoundation\Request;
diff --git a/src/Symfony/Component/Security/Tests/Http/RememberMe/PersistentTokenBasedRememberMeServicesTest.php b/src/Symfony/Component/Security/Http/Tests/RememberMe/PersistentTokenBasedRememberMeServicesTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Http/RememberMe/PersistentTokenBasedRememberMeServicesTest.php
rename to src/Symfony/Component/Security/Http/Tests/RememberMe/PersistentTokenBasedRememberMeServicesTest.php
index 8978725597..91188a470f 100644
--- a/src/Symfony/Component/Security/Tests/Http/RememberMe/PersistentTokenBasedRememberMeServicesTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/RememberMe/PersistentTokenBasedRememberMeServicesTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\RememberMe;
+namespace Symfony\Component\Security\Http\Tests\RememberMe;
use Symfony\Component\Security\Http\RememberMe\RememberMeServicesInterface;
diff --git a/src/Symfony/Component/Security/Tests/Http/RememberMe/ResponseListenerTest.php b/src/Symfony/Component/Security/Http/Tests/RememberMe/ResponseListenerTest.php
similarity index 97%
rename from src/Symfony/Component/Security/Tests/Http/RememberMe/ResponseListenerTest.php
rename to src/Symfony/Component/Security/Http/Tests/RememberMe/ResponseListenerTest.php
index 887ec69104..5d69a65b1f 100644
--- a/src/Symfony/Component/Security/Tests/Http/RememberMe/ResponseListenerTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/RememberMe/ResponseListenerTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\RememberMe;
+namespace Symfony\Component\Security\Http\Tests\RememberMe;
use Symfony\Component\Security\Http\RememberMe\ResponseListener;
use Symfony\Component\Security\Http\RememberMe\RememberMeServicesInterface;
diff --git a/src/Symfony/Component/Security/Tests/Http/RememberMe/TokenBasedRememberMeServicesTest.php b/src/Symfony/Component/Security/Http/Tests/RememberMe/TokenBasedRememberMeServicesTest.php
similarity index 99%
rename from src/Symfony/Component/Security/Tests/Http/RememberMe/TokenBasedRememberMeServicesTest.php
rename to src/Symfony/Component/Security/Http/Tests/RememberMe/TokenBasedRememberMeServicesTest.php
index 78560384d4..cdd30319d1 100644
--- a/src/Symfony/Component/Security/Tests/Http/RememberMe/TokenBasedRememberMeServicesTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/RememberMe/TokenBasedRememberMeServicesTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\RememberMe;
+namespace Symfony\Component\Security\Http\Tests\RememberMe;
use Symfony\Component\Security\Http\RememberMe\RememberMeServicesInterface;
diff --git a/src/Symfony/Component/Security/Tests/Http/Session/SessionAuthenticationStrategyTest.php b/src/Symfony/Component/Security/Http/Tests/Session/SessionAuthenticationStrategyTest.php
similarity index 97%
rename from src/Symfony/Component/Security/Tests/Http/Session/SessionAuthenticationStrategyTest.php
rename to src/Symfony/Component/Security/Http/Tests/Session/SessionAuthenticationStrategyTest.php
index 6918503c1d..7be9054e54 100644
--- a/src/Symfony/Component/Security/Tests/Http/Session/SessionAuthenticationStrategyTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/Session/SessionAuthenticationStrategyTest.php
@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/
-namespace Symfony\Component\Security\Tests\Http\Session;
+namespace Symfony\Component\Security\Http\Tests\Session;
use Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy;
diff --git a/src/Symfony/Component/Security/Http/composer.json b/src/Symfony/Component/Security/Http/composer.json
new file mode 100644
index 0000000000..6b610a09e4
--- /dev/null
+++ b/src/Symfony/Component/Security/Http/composer.json
@@ -0,0 +1,44 @@
+{
+ "name": "symfony/security-http",
+ "type": "library",
+ "description": "Symfony Security Component - HTTP Integration",
+ "keywords": [],
+ "homepage": "http://symfony.com",
+ "license": "MIT",
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "http://symfony.com/contributors"
+ }
+ ],
+ "require": {
+ "php": ">=5.3.3",
+ "symfony/security-core": "~2.4",
+ "symfony/event-dispatcher": "~2.1",
+ "symfony/http-foundation": "~2.4",
+ "symfony/http-kernel": "~2.4"
+ },
+ "require-dev": {
+ "symfony/form": "~2.0",
+ "symfony/routing": "~2.2",
+ "psr/log": "~1.0"
+ },
+ "suggest": {
+ "symfony/form": "",
+ "symfony/routing": ""
+ },
+ "autoload": {
+ "psr-0": { "Symfony\\Component\\Security\\Http\\": "" }
+ },
+ "target-dir": "Symfony/Component/Security/Http",
+ "minimum-stability": "dev",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.4-dev"
+ }
+ }
+}
diff --git a/src/Symfony/Component/Security/Http/phpunit.xml.dist b/src/Symfony/Component/Security/Http/phpunit.xml.dist
new file mode 100644
index 0000000000..a735efdb19
--- /dev/null
+++ b/src/Symfony/Component/Security/Http/phpunit.xml.dist
@@ -0,0 +1,29 @@
+
+
+
+
+
+ ./Tests/
+
+
+
+
+
+ ./
+
+ ./vendor
+ ./Tests
+
+
+
+
diff --git a/src/Symfony/Component/Security/README.md b/src/Symfony/Component/Security/README.md
index 9452839765..52bff9ff7e 100644
--- a/src/Symfony/Component/Security/README.md
+++ b/src/Symfony/Component/Security/README.md
@@ -13,8 +13,8 @@ Documentation:
http://symfony.com/doc/2.4/book/security.html
-Resources
----------
+Tests
+-----
You can run the unit tests with the following command:
diff --git a/src/Symfony/Component/Security/composer.json b/src/Symfony/Component/Security/composer.json
index 9c01ef065d..c66e967fbf 100644
--- a/src/Symfony/Component/Security/composer.json
+++ b/src/Symfony/Component/Security/composer.json
@@ -21,6 +21,11 @@
"symfony/http-foundation": "~2.1",
"symfony/http-kernel": "~2.4"
},
+ "replace": {
+ "symfony/security-acl": "self.version",
+ "symfony/security-core": "self.version",
+ "symfony/security-http": "self.version"
+ },
"require-dev": {
"symfony/form": "~2.0",
"symfony/routing": "~2.2",
diff --git a/src/Symfony/Component/Security/phpunit.xml.dist b/src/Symfony/Component/Security/phpunit.xml.dist
index f45a44ec5a..65cc186861 100644
--- a/src/Symfony/Component/Security/phpunit.xml.dist
+++ b/src/Symfony/Component/Security/phpunit.xml.dist
@@ -13,7 +13,9 @@
>
- ./Tests/
+ ./Acl/Tests/
+ ./Core/Tests/
+ ./Http/Tests/
@@ -22,7 +24,9 @@
././vendor
- ./Tests
+ ./Acl/Tests
+ ./Core/Tests
+ ./Http/Tests