19 declare(strict_types=1);
28 $clone->verify_password =
false;
41 $this->
getLogger()->notice(
'Failed authentication for anonymous user id. ');
48 $this->
getLogger()->debug(
'DB authentication failed: current user auth mode does not allow local validation.');
49 $this->
getLogger()->debug(
'User auth mode: ' . $user->getAuthMode(
true));
handleAuthenticationFail(ilAuthStatus $status, string $a_reason)
Handle failed authentication.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setStatus(int $a_status)
Set auth status.
static _loginExists(string $a_login, int $a_user_id=0)
check if a login name already exists You may exclude a user from the check by giving his user id as 2...
withoutPasswordVerification()
static getInstanceByObjId(?int $obj_id, bool $stop_on_error=true)
get an instance of an Ilias object by object id
const STATUS_AUTHENTICATED
static isLocalPasswordEnabledForAuthMode($a_authmode)
Check if local password validation is enabled for a specific auth_mode.
setAuthenticatedUserId(int $a_id)
doAuthentication(\ilAuthStatus $status)
Do authentication.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getInstance()
Singleton method to reduce footprint (included files, created instances)