‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\FrontendBackendUserAuthentication Class Reference
Inheritance diagram for TYPO3\CMS\Backend\FrontendBackendUserAuthentication:
TYPO3\CMS\Core\Authentication\BackendUserAuthentication TYPO3\CMS\Core\Authentication\AbstractUserAuthentication

Public Member Functions

bool backendCheckLogin (ServerRequestInterface $request=null)
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Authentication\BackendUserAuthentication
 __construct ()
bool isAdmin ()
bool doesUserHaveAccess ($row, $perms)
int null isInWebMount ($idOrRow, $readPerms='')
 isSystemMaintainer ()
string getPagePermsClause ($perms)
int calcPerms ($row)
bool check ($type, $value)
bool checkAuthMode ($table, $field, $value)
bool checkLanguageAccess ($langValue)
bool checkFullLanguagesAccess ($table, $record)
bool recordEditAccessInternals ($table, $idOrRow, $newRecord=false, $deletedRecord=false, $checkFullLanguageAccess=false)
bool mayMakeShortcut ()
 workspaceAllowsLiveEditingInTable (string $table)
 workspaceCanCreateNewRecord (string $table)
bool workspaceCheckStageForCurrent ($stage)
array getTSConfig ()
 getUserTsConfig ()
array returnWebmounts ()
 setWebmounts (array $mountPointUids, $append=false)
 initializeWebmountsForElementBrowser ()
bool jsConfirmation (int $bitmask)
 fetchGroupData ()
array getCategoryMountPoints ()
array getFileMountRecords ()
TYPO3 CMS Core Resource ResourceStorage[] getFileStorages ()
 evaluateUserSpecificFileFilterSettings ()
 getFilePermissions ()
array false checkWorkspace (int|array $wsRec)
 setWorkspace ($workspaceId)
bool setTemporaryWorkspace ($workspaceId)
int writelog ($type, $action, $error, $details_nr, $details, $data, $tablename='', $recuid='', $recpid='', $event_pid=-1, $NEWid='', $userId=0)
 initializeBackendLogin (ServerRequestInterface $request=null)
 handleUserLoggedIn (ServerRequestInterface $request=null)
 backendSetUC ()
 overrideUC ()
 resetUC ()
bool isUserAllowedToLogin ()
 logoff ()
int null getOriginalUserIdWhenInSwitchUserMode ()
 isMfaSetupRequired ()
 isImportEnabled ()
 isExportEnabled ()
 shallDisplayDebugInformation ()
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Authentication\AbstractUserAuthentication
 initializeUserSessionManager (?UserSessionManager $userSessionManager=null)
 start (ServerRequestInterface $request)
 appendCookieToResponse (ResponseInterface $response, ?NormalizedParams $normalizedParams=null)
 checkAuthentication (ServerRequestInterface $request)
UserSession createUserSession (array $userRecordCandidate)
 enforceNewSessionId ()
 removeCookie ($cookieName=null)
 writeUC ()
 pushModuleData (string $module, mixed $data, bool $dontPersistImmediately=false)
mixed getModuleData (string $module, string $type='')
mixed getSessionData ($key)
 setSessionData ($key, $data)
 setAndSaveSessionData ($key, $data)
array getLoginFormData (ServerRequestInterface $request)
 isActiveLogin (ServerRequestInterface $request)
array processLoginData (array $loginData, ServerRequestInterface $request)
array getAuthInfoArray (ServerRequestInterface $request)
 writelog ($type, $action, $error, $details_nr, $details, $data, $tablename, $recuid, $recpid)
 setBeUserByUid ($uid)
 setBeUserByName ($name)
array getRawUserByUid ($uid)
array getRawUserByName ($name)
 getSession ()

Public Attributes

bool $writeStdLog = false
bool $writeAttemptLog = false
- ‪Public Attributes inherited from ‪TYPO3\CMS\Core\Authentication\BackendUserAuthentication
const ROLE_SYSTEMMAINTAINER = 'systemMaintainer'
string $usergroup_column = 'usergroup'
string $usergroup_table = 'be_groups'
array $groupData
array $userGroupsUID = array( )
int $workspace = -99
array $workspaceRec = array( )
string $errorMsg = ''
string $user_table = 'be_users'
string $username_column = 'username'
string $userident_column = 'password'
string $userid_column = 'uid'
string $lastLogin_column = 'lastlogin'
array $enablecolumns
bool $writeStdLog = true
bool $writeAttemptLog = true
int $firstMainGroup = 0
array $uc_default
string $loginType = 'BE'
- ‪Public Attributes inherited from ‪TYPO3\CMS\Core\Authentication\AbstractUserAuthentication
string $name = ''
string $user_table = ''
string $usergroup_table = ''
string $username_column = ''
string $userident_column = ''
string $userid_column = ''
string $usergroup_column = ''
array $enablecolumns
bool $writeStdLog = false
bool $writeAttemptLog = false
bool $checkPid = true
int string null $checkPid_value = 0
array null $user
array $userGroups = []
string $loginType = ''
array $uc = []

Protected Member Functions

 hasEditAccessToLiveWorkspace ()
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Authentication\BackendUserAuthentication
 isMemberOfGroup (int $groupId)
array filterValidWebMounts (string $listOfWebMounts)
 prepareUserTsConfig ()
 initializeFileStorages ()
 workspaceInit ()
 initializeDbMountpointsInWorkspace ()
 checkWorkspaceCurrent ()
 setDefaultWorkspace ()
int getDefaultWorkspace ()
 releaseLockedRecords (int $userId)
 evaluateMfaRequirements ()
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Authentication\AbstractUserAuthentication
 setSessionCookie ()
 shallSetSessionCookie ()
bool isSetSessionCookie ()
bool isRefreshTimeBasedCookie ()
 getAuthServiceConfiguration ()
 fetchPossibleUsers (array $loginData, bool $activeLogin, bool $isExistingSession, ?array $authenticatedUserFromSession, ServerRequestInterface $request)
Traversable getAuthServices (string $subType, array $loginData, ?array $authenticatedUserFromSession, ServerRequestInterface $request)
 regenerateSessionId ()
 updateLoginTimestamp (int $userId)
 fetchValidUserFromSessionOrDestroySession (bool $skipSessionUpdate=false)
 performLogoff ()
bool isCookieSet ()
 userConstraints ()
 unpack_uc ()
mixed removeSensitiveLoginDataForLoggingInfo ($data, bool $isUserRecord=false)

Protected Attributes

string $formfield_uname = ''
string $formfield_uident = ''
string $formfield_status = ''
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\Authentication\BackendUserAuthentication
UserTsConfig $userTsConfig = null
bool $userTSUpdated = false
array null $checkWorkspaceCurrent_cache
TYPO3 CMS Core Resource ResourceStorage[] $fileStorages
array null $filePermissions
string $formfield_uname = 'username'
string $formfield_uident = 'userident'
string $formfield_status = 'login_status'
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\Authentication\AbstractUserAuthentication
string $lastLogin_column = ''
string $formfield_uname = ''
string $formfield_uident = ''
string $formfield_status = ''
bool $loginSessionStarted = false
bool $dontSetCookie = false
UserSession $userSession = null
UserSessionManager $userSessionManager
SetCookieBehavior $setCookie = SetCookieBehavior::None

Additional Inherited Members

- ‪Static Public Member Functions inherited from ‪TYPO3\CMS\Core\Authentication\BackendUserAuthentication
static getCookieName ()

Detailed Description

TYPO3 backend user authentication in the Frontend rendering.

This class is a TYPO3 Backend implementation and is not considered part of the Public TYPO3 API.

Definition at line 28 of file FrontendBackendUserAuthentication.php.

Member Function Documentation

◆ backendCheckLogin()

bool TYPO3\CMS\Backend\FrontendBackendUserAuthentication::backendCheckLogin ( ServerRequestInterface  $request = null)

Implementing the access checks that the TYPO3 CMS bootstrap script does before a user is ever logged in. Used in the frontend.

‪bool Returns TRUE if access is OK

Reimplemented from TYPO3\CMS\Core\Authentication\BackendUserAuthentication.

Definition at line 70 of file FrontendBackendUserAuthentication.php.

References $GLOBALS, and TYPO3\CMS\Core\Authentication\BackendUserAuthentication\isUserAllowedToLogin().

Referenced by TYPO3\CMS\Frontend\Middleware\BackendUserAuthenticator\isAuthenticated().

◆ hasEditAccessToLiveWorkspace()

TYPO3\CMS\Backend\FrontendBackendUserAuthentication::hasEditAccessToLiveWorkspace ( )

If a user is in a workspace, but previews the live workspace (GET keyword "LIVE") even if the user has no editing permissions for this, it should still be visible, even though "be_users.workspace_perms" is set to "0". If this ain't true, users without the live permission cannot see the live page, only the preview of the workspace of the user.

Reimplemented from TYPO3\CMS\Core\Authentication\BackendUserAuthentication.

Definition at line 87 of file FrontendBackendUserAuthentication.php.

Member Data Documentation

◆ $formfield_status

string TYPO3\CMS\Backend\FrontendBackendUserAuthentication::$formfield_status = ''

Formfield_status should be set to "". The value this->formfield_status is set to empty in order to disable login-attempts to the backend account through this script

Definition at line 50 of file FrontendBackendUserAuthentication.php.

◆ $formfield_uident

string TYPO3\CMS\Backend\FrontendBackendUserAuthentication::$formfield_uident = ''

Form field with password.

Definition at line 42 of file FrontendBackendUserAuthentication.php.

◆ $formfield_uname

string TYPO3\CMS\Backend\FrontendBackendUserAuthentication::$formfield_uname = ''

Form field with login name.

Definition at line 35 of file FrontendBackendUserAuthentication.php.

◆ $writeAttemptLog

bool TYPO3\CMS\Backend\FrontendBackendUserAuthentication::$writeAttemptLog = false

If the writelog() functions is called if a login-attempt has be tried without success.

Definition at line 62 of file FrontendBackendUserAuthentication.php.

◆ $writeStdLog

bool TYPO3\CMS\Backend\FrontendBackendUserAuthentication::$writeStdLog = false

Decides if the writelog() function is called at login and logout.

Definition at line 56 of file FrontendBackendUserAuthentication.php.