bb8048e441a84f04957a18c142b9da794c4d9d7d
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Configuration / RequestMiddlewares.php
1 <?php
2 /**
3 * An array consisting of implementations of middlewares for a middleware stack to be registered
4 *
5 * 'stackname' => [
6 * 'middleware-identifier' => [
7 * 'target' => classname or callable
8 * 'before/after' => array of dependencies
9 * ]
10 * ]
11 */
12 return [
13 'backend' => [
14 'typo3/cms-core/normalized-params-attribute' => [
15 'target' => \TYPO3\CMS\Core\Middleware\NormalizedParamsAttribute::class,
16 ],
17 'typo3/cms-backend/locked-backend' => [
18 'target' => \TYPO3\CMS\Backend\Middleware\LockedBackendGuard::class,
19 'after' => [
20 'typo3/cms-core/normalized-params-attribute'
21 ],
22 ],
23 'typo3/cms-backend/https-redirector' => [
24 'target' => \TYPO3\CMS\Backend\Middleware\ForcedHttpsBackendRedirector::class,
25 'after' => [
26 'typo3/cms-core/normalized-params-attribute',
27 'typo3/cms-backend/locked-backend',
28 ]
29 ],
30 'typo3/cms-backend/backend-routing' => [
31 'target' => \TYPO3\CMS\Backend\Middleware\BackendRouteInitialization::class,
32 'after' => [
33 'typo3/cms-backend/https-redirector'
34 ]
35 ],
36 'typo3/cms-backend/authentication' => [
37 'target' => \TYPO3\CMS\Backend\Middleware\BackendUserAuthenticator::class,
38 'after' => [
39 'typo3/cms-backend/backend-routing'
40 ]
41 ],
42 'typo3/cms-backend/site-resolver' => [
43 'target' => \TYPO3\CMS\Backend\Middleware\SiteResolver::class,
44 'after' => [
45 'typo3/cms-backend/backend-routing'
46 ]
47 ],
48 'typo3/cms-backend/legacy-document-template' => [
49 'target' => \TYPO3\CMS\Backend\Middleware\LegacyBackendTemplateInitialization::class,
50 'after' => [
51 'typo3/cms-backend/authentication'
52 ]
53 ],
54 'typo3/cms-backend/output-compression' => [
55 'target' => \TYPO3\CMS\Backend\Middleware\OutputCompression::class,
56 'after' => [
57 'typo3/cms-backend/authentication'
58 ]
59 ],
60 'typo3/cms-backend/response-headers' => [
61 'target' => \TYPO3\CMS\Backend\Middleware\AdditionalResponseHeaders::class,
62 'after' => [
63 'typo3/cms-backend/output-compression'
64 ]
65 ],
66 ]
67 ];