19 declare(strict_types=1);
41 $this->
getLogger()->notice(
'Failed authentication for anonymous user id. ');
46 $this->
getLogger()->debug(
'DB authentication failed: current user auth mode does not allow local validation.');
47 $this->
getLogger()->debug(
'User auth mode: ' . $user->getAuthMode(
true));
handleAuthenticationFail(ilAuthStatus $status, string $a_reason)
Handle failed authentication.
Base class for authentication providers (ldap, apache, ...)
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...
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.
Auth status implementation.
static getInstance()
Singleton method to reduce footprint (included files, created instances)