nextcloud-server/tests/lib/Security
Lukas Reschke 66835476b5
Add support for ratelimiting via annotations
This allows adding rate limiting via annotations to controllers, as one example:

```
@UserRateThrottle(limit=5, period=100)
@AnonRateThrottle(limit=1, period=100)
```

Would mean that logged-in users can access the page 5 times within 100 seconds, and anonymous users 1 time within 100 seconds. If only an AnonRateThrottle is specified that one will also be applied to logged-in users.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-04-13 12:00:16 +07:00
..
Bruteforce Add support for ratelimiting via annotations 2017-04-13 12:00:16 +07:00
CSP Fix unit tests 2017-03-28 21:00:12 +07:00
CSRF Add tests 2016-11-02 21:10:51 +07:00
IdentityProof Add Identityproof tests 2016-11-24 21:50:19 +07:00
Normalizer Add support for ratelimiting via annotations 2017-04-13 12:00:16 +07:00
RateLimiting Add support for ratelimiting via annotations 2017-04-13 12:00:16 +07:00
CertificateManagerTest.php dont write a certificate bundle if the shipped ca bundle is empty 2017-01-09 16:51:27 +07:00
CertificateTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +07:00
CredentialsManagerTest.php Inject config and logger 2016-11-02 20:30:37 +07:00
CryptoTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +07:00
HasherTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +07:00
SecureRandomTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +07:00
TrustedDomainHelperTest.php Disallow certain malformed domain names even if they match the trusted domain expression 2016-07-06 23:51:04 +07:00