summaryrefslogtreecommitdiffstats
path: root/Tests/Http/Firewall
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '2.8' into 3.0Fabien Potencier2016-05-091-0/+78
|\ | | | | | | | | * 2.8: limited the maximum length of a submitted username
| * Merge branch '2.3' into 2.7v2.7.13Fabien Potencier2016-05-091-0/+78
| |\ |/ / | | | | | | * 2.3: limited the maximum length of a submitted username
| * limited the maximum length of a submitted usernamev2.3.42v2.3.41origin/2.3Fabien Potencier2016-05-091-0/+78
| |
| * remove unused variablev2.3.40Christian Flothmann2016-04-051-1/+0
| |
| * [Security] Fixed SwitchUserListener when exiting an impersonication with ↵Grégoire Pineau2016-04-041-0/+48
| | | | | | | | | | | | | | | | | | | | AnonymousToken If you configure a firewall with switch user with `role: IS_AUTHENTICATED_ANONYMOUSLY` it's impossible to exit the impersonation because the next line `$this->provider->refreshUser($original->getUser())` will fail. It fails because `RefreshUser` expects an instance of `UserInterface` and here it's a string. Therefore, it does not make sense to refresh an Anonymous Token, right ?
| * fix mocksChristian Flothmann2016-03-251-1/+1
| | | | | | | | | | * fix a typo in a method name (`setResponse` instead of `seetResopnse`) * fix mocking a method that is not part of the `DomainObjectInterface`
| * Static code analysisKonstantin.Myakshin2016-01-251-1/+1
| |
| * migrate session after remember me authenticationChristian Flothmann2015-11-231-0/+63
| |
| * trigger event with right user (add test)v2.3.31Christian Flothmann2015-06-281-0/+52
| |
| * minor #13862 [2.3] [Config] [Console] [DependencyInjection] [DomCrawler] ↵Fabien Potencier2015-03-071-3/+3
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Form] [HttpKernel] [PropertyAccess] [Security] [Translation] [Yaml] static code analysis, code cleanup (kalessil) This PR was squashed before being merged into the 2.3 branch (closes #13862). Discussion ---------- [2.3] [Config] [Console] [DependencyInjection] [DomCrawler] [Form] [HttpKernel] [PropertyAccess] [Security] [Translation] [Yaml] static code analysis, code cleanup | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Split <a href="https://github.com/symfony/symfony/pull/13813">PR 13813</a>: part 1 - targeting v2.3 Following is included (no functional changes, found with <a href="https://plugins.jetbrains.com/plugin/7622?pr=phpStorm">Php Inspections (EA Extended)</a>): - Fixed couple of concatenation as array index warnings - Unset calls can be merged inspection fixes - array_search in in_array context inspection fixes - Is null usage inspection fixes - Prefixed increment/decrement inspection fixes - Elvis operator can be used inspection fixes - Alias functions usage inspection fixes - Ternary operator simplification inspection fixes - _ _ DIR _ _ equivalent inspection fixes Commits ------- f13b5f7 [2.3] [Config] [Console] [DependencyInjection] [DomCrawler] [Form] [HttpKernel] [PropertyAccess] [Security] [Translation] [Yaml] static code analysis, code cleanup
| | * [2.3] [Config] [Console] [DependencyInjection] [DomCrawler] [Form] ↵Vladimir Reznichenko2015-03-071-3/+3
| | | | | | | | | | | | [HttpKernel] [PropertyAccess] [Security] [Translation] [Yaml] static code analysis, code cleanup
| * | CS fixesDariusz Ruminski2015-03-021-4/+4
| |/
| * [Security] Remove ContextListener's onKernelResponse listener as it is usedDave Marshall2015-02-051-3/+33
| |
| * [2.3] Remove useless tests skipsNicolas Grekas2015-01-0310-132/+0
| |
| * Fix phpdoc and coding standardsChristophe Coevoet2014-12-291-1/+0
| | | | | | | | | | | | This removes the unused use statements which were not catched by PHP-CS-Fixer because of string occurences. It also fixes some invalid phpdoc (scalar is not recognized as a valid type for instance).
| * PSR-2 fixesv2.3.23Graham Campbell2014-12-021-2/+2
| |
| * Remove aligned '=>' and '='Disquedur2014-10-262-6/+6
| |
| * fixed CSFabien Potencier2014-09-225-35/+35
| |
| * Fixed incompatibility of x509 auth with nginxalcaeus2014-04-221-18/+33
| |
| * [Security] removed obsolete commentFabien Potencier2013-12-291-1/+0
| |
* | [Security] moved test files into the right placeFabien Potencier2015-01-081-184/+0
| |
* | [Security] simplified some unit testsFabien Potencier2013-12-291-7/+1
| |
* | Merge branch '2.3' into 2.4Fabien Potencier2013-12-291-0/+190
|\ \ | |/ | | | | | | | | | | | | | | | | | | * 2.3: [Security] made code easier to understand, added some missing unit tests [DependencyInjection] fixed InlineServiceDefinitionsPass to not inline a service if it's part of the current definition (to avoid an infinite loop) [DomCrawler] Fixed creating form objects from form nodes. disabled php.ini changes when using HHVM in .travis.yml [Process] fixed HHVM support Add support for HHVM in the getting of the PHP executable [Security] fixed error 500 instead of 403 if previous exception is provided to AccessDeniedException
| * [Security] made code easier to understand, added some missing unit testsFabien Potencier2013-12-291-0/+190
| |
| * Merge branch '2.2' into 2.3v2.3.8Fabien Potencier2013-11-252-2/+2
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 2.2: fixed some typos fixed @expectedException class names Conflicts: src/Symfony/Component/Config/Tests/Definition/ArrayNodeTest.php src/Symfony/Component/Console/Tests/Command/CommandTest.php src/Symfony/Component/Locale/Tests/Stub/StubLocaleTest.php src/Symfony/Component/Locale/Tests/Stub/StubNumberFormatterTest.php
| | * fixed @expectedException class namesv2.2.11Fabien Potencier2013-11-252-2/+2
| | |
* | | [Security] Split the component into 3 sub-components Core, ACL, HTTPBernhard Schussek2013-09-1811-2124/+0
| | |
* | | [Security] Keep other query string parameters when switching usersLars Vierbergen2013-08-271-0/+35
| | |
* | | Fixed typosPascal Borreli2013-08-241-1/+1
| | |
* | | removed deps checks in unit testsFabien Potencier2013-08-1910-128/+0
| | | | | | | | | | | | | | | | | | | | | | | | As Composer is now widely used in the PHP world, having to run composer install before running the test suite is expected. This also has the nice benefit of removing a bunch of code, making things easier to maintain (there is only one place to declare a dev dependency), and probably more.
* | | [HttpKernel] added $event->isMasterRequest()Kris Wallsmith2013-08-081-2/+2
|/ /
* | Merge branch '2.2' into 2.3Fabien Potencier2013-07-203-2/+436
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * 2.2: [PropertyAccess] added moves to pluralMap [Security] fixed issue where authentication listeners clear unrelated tokens fix issue #8499 modelChoiceList call getPrimaryKey on a non object [DependencyInjection] Add exception for service name not dumpable in PHP Conflicts: src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.php src/Symfony/Component/Security/Tests/Http/Firewall/BasicAuthenticationListenerTest.php
| * [Security] fixed issue where authentication listeners clear unrelated tokensalcaeus2013-07-193-2/+436
| | | | | | | | | | This commit fixes an issue where authentication listeners clear all security tokens in case of authentication failure. This behavior makes it impossible to combine certain authentication mechanisms, notably x509 with form-based login.
* | [Security] Added tests for the SwitchUserListener.Jakub Zalas2013-06-021-0/+175
| |
* | [Security] Added tests for the ContextListener.Jakub Zalas2013-06-021-7/+75
| |
* | [Security] Added a test to the BasicAuthenticationListener.Jakub Zalas2013-06-021-0/+14
| |
* | [Security] Removed an unnecessary call to sprintf() and added a test case.Jakub Zalas2013-06-021-0/+17
| |
* | [CS Fix] Consistent coding-style of concatenation operator usageDariusz Górecki2013-04-021-6/+6
|/
* Merge branch '2.1' into 2.2Fabien Potencier2013-02-111-0/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | * 2.1: added support for the X-Forwarded-For header (closes #6982, closes #7000) fixed the IP address in HttpCache when calling the backend [EventDispatcher] Added assertion. [EventDispathcer] Fix removeListener [DependencyInjection] Add clone for resources which were introduced in 2.1 [DependencyInjection] Allow frozen containers to be dumped to graphviz Fix 'undefined index' error, when entering scope recursively [Security] fixed session creation on login (closes #7011) Add dot character `.` to legal mime subtype regular expression [HttpFoundation] fixed the creation of sub-requests under some circumstancies (closes #6923, closes #6936)
| * [Security] fixed session creation on login (closes #7011)Adrien Samson2013-02-071-0/+19
| |
* | Merge branch '2.1' into 2.2Fabien Potencier2013-02-071-28/+30
|\ \ | |/ | | | | | | | | | | * 2.1: [HttpKernel] fixed the creation of the Profiler directory [Security] fixed session creation when none is needed (closes #6917) [FrameworkBundle] removed obsolete comment (see 2e356c1)
| * [Security] fixed session creation when none is needed (closes #6917)Fabien Potencier2013-02-041-28/+30
| |
* | Remove use of deprecated HttpKernel LoggerInterfaceJordi Boggiano2013-01-091-1/+1
| |
* | Fixed @expectedException definitions to reference absolute exception pathsBernhard Schussek2013-01-052-3/+3
|/
* [Tests] Fix namespacesFran Moreno2012-12-271-1/+1
|
* [Security] Move DigestDataTest.php inside the Security componentFran Moreno2012-12-041-0/+181
|
* merged 2.0Fabien Potencier2012-08-101-0/+43
|
* [Security] Extract default logout success handling logicAlexander2012-07-141-5/+7
|
* fixed CS (missing or misplaced license blocks)Eriksen Costa2012-04-025-0/+45
|
* updated license blocksEriksen Costa2012-03-312-6/+6
|
* moved component and bridge unit tests to the src/ directoryFabien Potencier2012-03-297-0/+1217
This is the first step to make each Symfony Component and Bridge self-contained.