wCMF
3.6
|
Public Member Functions | |
initialize (&$request, &$response) | |
validate () | |
hasView () | |
executeKernel () | |
isCookieLogin () | |
Public Member Functions inherited from Controller | |
Controller (&$delegate) | |
initialize (&$request, &$response) | |
validate () | |
hasView () | |
execute () | |
executeKernel () | |
getErrorMsg () | |
setErrorMsg ($msg) | |
appendErrorMsg ($msg) | |
& | getRequest () |
& | getResponse () |
& | getView () |
& | getDelegate () |
getViewTemplate ($controller, $context, $action) | |
getCacheId () | |
assignViewDefaults (&$view) | |
isLocalizedRequest () | |
Public Attributes | |
$_anonymous = 0 | |
$NUM_LOGINTRIES_VARNAME = 'LoginController.logintries' | |
$LOGINMESSAGE_VARNAME = 'LoginController.loginmessage' | |
Public Attributes inherited from Controller | |
$_request = null | |
$_response = null | |
$_errorMsg = '' | |
$_view = null | |
$_delegate = null | |
LoginController is a controller that handles the login process.
wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH
Licensed under the terms of any of the following licenses at your choice:
See the license.txt file distributed with this work for additional information.
Input actions:
Output actions:
[in] | login | The users login name |
[in] | password | The user's password |
[in] | remember_me | If given with any value a login cookie will be created in the browser |
[in] | password_is_encrypted | True/False wether the given password is encrypted on not (default: false) |
[out] | loginmessage | A message if login failed |
Definition at line 48 of file class.LoginController.php.
LoginController::initialize | ( | & | $request, |
& | $response | ||
) |
Definition at line 59 of file class.LoginController.php.
References InifileParser\getInstance().
LoginController::validate | ( | ) |
Definition at line 73 of file class.LoginController.php.
References $_anonymous, and Controller\setErrorMsg().
LoginController::hasView | ( | ) |
Definition at line 93 of file class.LoginController.php.
References isCookieLogin().
LoginController::executeKernel | ( | ) |
If called with any usr_action except 'dologin' this Controller presents the login dialog else if usr_action is 'dologin' it checks the login data ('login' & 'password') and creates AuthUser object in the Session on success.
Definition at line 109 of file class.LoginController.php.
References UserManager\encryptPassword(), Message\get(), RightsManager\getAuthUserVarname(), Controller\getErrorMsg(), LockManager\getInstance(), SessionData\getInstance(), isCookieLogin(), MSG_FORMAT_HTML, and Controller\setErrorMsg().
LoginController::isCookieLogin | ( | ) |
Check if the user logs in via cookies
Definition at line 225 of file class.LoginController.php.
Referenced by executeKernel(), and hasView().
LoginController::$_anonymous = 0 |
Definition at line 50 of file class.LoginController.php.
Referenced by validate().
LoginController::$NUM_LOGINTRIES_VARNAME = 'LoginController.logintries' |
Definition at line 53 of file class.LoginController.php.
LoginController::$LOGINMESSAGE_VARNAME = 'LoginController.loginmessage' |
Definition at line 54 of file class.LoginController.php.