2 namespace TYPO3\CMS\Install\Controller;
32 'extensionCompatibilityTester',
35 'coreUpdateUpdateVersionMatrix',
36 'coreUpdateIsUpdateAvailable',
37 'coreUpdateCheckPreConditions',
39 'coreUpdateVerifyChecksum',
54 $this->loadBaseExtensions();
55 $this->initializeObjectManager();
60 $this->initializeSession();
61 $this->checkSessionToken();
64 $this->dispatchAuthenticationActions();
74 if (!$this->isInstallToolAvailable()) {
75 $this->
output($this->unauthorized);
86 if (empty(
$GLOBALS[
'TYPO3_CONF_VARS'][
'BE'][
'installToolPassword'])) {
87 $this->
output($this->unauthorized);
98 if (!$this->session->isAuthorized()) {
99 $this->
output($this->unauthorized);
101 $this->session->refreshSession();
115 $this->
output($this->unauthorized);
127 $this->
output($this->unauthorized);
136 protected function dispatchAuthenticationActions()
139 if ($action ===
'') {
140 $this->
output(
'noAction');
143 $actionClass = ucfirst($action);
145 $toolAction = $this->objectManager->get(
'TYPO3\\CMS\\Install\\Controller\\Action\\Ajax\\' . $actionClass);
146 if (!($toolAction instanceof Action\ActionInterface)) {
148 $action .
' does not implement ActionInterface',
152 $toolAction->setController(
'ajax');
153 $toolAction->setAction($action);
154 $toolAction->setToken($this->generateTokenForAction($action));
156 $this->
output($toolAction->handle());
168 header(
'Content-Type: application/json; charset=utf-8');
169 header(
'Cache-Control: no-cache, must-revalidate');
170 header(
'Pragma: no-cache');