[!!!][FEATURE] Introduce Session Framework 49/51549/7
authorMarkus Klein <markus.klein@typo3.org>
Tue, 22 Sep 2015 16:56:51 +0000 (18:56 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Mon, 6 Feb 2017 19:21:24 +0000 (20:21 +0100)
commit955f4bebb677ed792b1a47a3a486b066ad945b13
tree8ffb059b2a0781f5dd6a2c4375e9617e4e52010a
parent12fd6b6ae7a14ca22d9f0cfa6cf9bcaa62046f4a
[!!!][FEATURE] Introduce Session Framework

A new session framework is introduced.
The goal is to provide interoperability between different
session storages (called "backends"), like database, Redis, etc.

An integrator may enforce a specific session backend by configuring
SYS/session in LocalConfiguration.php. It is also possible to use
custom session backends by implementing
the interface "SessionBackendInterface".

Resolves: #70316
Releases: master
Change-Id: I90a4f84344e75f13b2f46245162e749ed3505ec3
Reviewed-on: https://review.typo3.org/51549
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Claus Due <claus@phpmind.net>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
30 files changed:
typo3/sysext/beuser/Classes/Controller/BackendUserController.php
typo3/sysext/beuser/Classes/Domain/Repository/BackendUserRepository.php
typo3/sysext/beuser/Classes/Domain/Repository/BackendUserSessionRepository.php
typo3/sysext/beuser/Classes/Hook/SwitchBackUserHook.php
typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php
typo3/sysext/core/Classes/Session/Backend/DatabaseSessionBackend.php [new file with mode: 0644]
typo3/sysext/core/Classes/Session/Backend/Exception/AbstractBackendException.php [new file with mode: 0644]
typo3/sysext/core/Classes/Session/Backend/Exception/SessionNotCreatedException.php [new file with mode: 0644]
typo3/sysext/core/Classes/Session/Backend/Exception/SessionNotFoundException.php [new file with mode: 0644]
typo3/sysext/core/Classes/Session/Backend/Exception/SessionNotUpdatedException.php [new file with mode: 0644]
typo3/sysext/core/Classes/Session/Backend/RedisSessionBackend.php [new file with mode: 0644]
typo3/sysext/core/Classes/Session/Backend/SessionBackendInterface.php [new file with mode: 0644]
typo3/sysext/core/Classes/Session/SessionManager.php [new file with mode: 0644]
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-70316-AbstractUserAuthenticationPropertiesAndMethodsDroppedAndChanged.rst [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Deprecation-70316-FrontendBasketWithRecs.rst [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Feature-70316-IntroduceSessionStorageFramework.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/Session/Backend/DatabaseSessionBackendTest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/Session/Backend/RedisSessionBackendTest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Authentication/BackendUserAuthenticationTest.php
typo3/sysext/core/Tests/Unit/Cache/Backend/RedisBackendTest.php
typo3/sysext/core/Tests/Unit/Session/Backend/DatabaseSessionBackendTest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Session/Backend/RedisSessionBackendTest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Session/SessionManagerTest.php [new file with mode: 0644]
typo3/sysext/frontend/Classes/Authentication/FrontendUserAuthentication.php
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/frontend/Tests/Unit/Authentication/FrontendUserAuthenticationTest.php [new file with mode: 0644]
typo3/sysext/frontend/ext_tables.sql
typo3/sysext/install/Classes/Controller/Action/Tool/CleanUp.php