[TASK] Install Tool: Migrate authentication logic into AuthenticationService 37/53837/6
authorBenni Mack <benni@typo3.org>
Wed, 30 Aug 2017 11:23:47 +0000 (13:23 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 31 Aug 2017 18:50:42 +0000 (20:50 +0200)
commitd072d2d39862b3fd9da301586ba14145670b2157
treedbfdbee7c2099a97742c931228302e9535b8c452
parentaed46d2af8a98e1c6fffb3d5ee170a33ecc0a9f0
[TASK] Install Tool: Migrate authentication logic into AuthenticationService

The PHP request flow logic for authentication against the install tool password
is moved into a new class called AuthenticationService.

Additionally, all logic which is only needed inside the StepController is moved
from the AbstractController into the StepController or the recovery request handler.

ToolController and AjaxController are now free of session handling completely.

Resolves: #82265
Releases: master
Change-Id: Ib75c920877da81d7d859feaa5e6cbbcf4f0fd2cf
Reviewed-on: https://review.typo3.org/53837
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/install/Classes/Authentication/AuthenticationService.php [new file with mode: 0644]
typo3/sysext/install/Classes/Controller/AbstractController.php
typo3/sysext/install/Classes/Controller/AjaxController.php
typo3/sysext/install/Classes/Controller/StepController.php
typo3/sysext/install/Classes/Controller/ToolController.php
typo3/sysext/install/Classes/Http/RecoveryRequestHandler.php
typo3/sysext/install/Classes/Http/RequestHandler.php