server/tests/lib/AppFramework/Http
Lukas Reschke 8149945a91
Make BruteForceProtection annotation more clever
This makes the new `@BruteForceProtection` annotation more clever and moves the relevant code into it's own middleware.

Basically you can now set `@BruteForceProtection(action=$key)` as annotation and that will make the controller bruteforce protected. However, the difference to before is that you need to call `$responmse->throttle()` to increase the counter. Before the counter was increased every time which leads to all kind of unexpected problems.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-04-13 23:05:33 +02:00
..
ContentSecurityPolicyTest.php Fix unit tests 2017-03-28 21:00:12 -06:00
DataResponseTest.php Fix unit tests 2017-03-28 21:00:12 -06:00
DispatcherTest.php Fix phpunit-5.4 wargning 2016-07-11 08:50:07 +02:00
DownloadResponseTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
EmptyContentSecurityPolicyTest.php Fix unit tests 2017-03-28 21:00:12 -06:00
FileDisplayResponseTest.php Add FileDisplayResponse 2016-09-05 15:09:54 +02:00
HttpTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
JSONResponseTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
OCSResponseTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
OutputTest.php add tests for http/output 2016-11-16 15:30:37 +01:00
RedirectResponseTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
RequestStream.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
RequestTest.php Don't try to parse empty body if there is no body 2017-04-04 08:22:33 +02:00
ResponseTest.php Make BruteForceProtection annotation more clever 2017-04-13 23:05:33 +02:00
StreamResponseTest.php Fix phpunit-5.4 wargning 2016-07-11 08:50:07 +02:00
TemplateResponseTest.php Fix phpunit-5.4 wargning 2016-07-11 08:50:07 +02:00