ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Base class for all PEAR and ILIAS auth classes. More...
Public Member Functions | |
getSubStatus () | |
Get sub status. More... | |
setSubStatus ($a_sub_status) | |
Set sub status. More... | |
supportsRedirects () | |
Returns true, if the current auth mode allows redirects to e.g the login screen, public section ... More... | |
getContainer () | |
Get container object. More... | |
getExceededUserName () | |
Protected Member Functions | |
initAuth () | |
Init auth object Enable logging, set callbacks... More... | |
loginObserver ($a_username, $a_auth) | |
Called after successful login. More... | |
failedLoginObserver ($a_username, $a_auth) | |
Called after failed login. More... | |
checkAuthObserver ($a_username, $a_auth) | |
Called after each check auth request. More... | |
logoutObserver ($a_username, $a_auth) | |
Called after logout. More... | |
Protected Attributes | |
$sub_status = null | |
$exceeded_user_name | |
Base class for all PEAR and ILIAS auth classes.
Enables logging, observers.
Definition at line 33 of file class.ilAuthBase.php.
|
protected |
Called after each check auth request.
array | $a_username | |
object | $a_auth |
Definition at line 257 of file class.ilAuthBase.php.
References getContainer().
|
protected |
Called after failed login.
array | $a_username | |
object | $a_auth |
Definition at line 220 of file class.ilAuthBase.php.
References $_SERVER, $DIC, $ilLog, ilSecuritySettings\_getInstance(), ilObjUser\_getLoginAttempts(), ilObjUser\_incrementLoginAttempts(), ilObjUser\_lookupId(), ilObjUser\_setUserInactive(), getContainer(), and ilLoggerFactory\getLogger().
|
final |
Get container object.
Definition at line 74 of file class.ilAuthBase.php.
Referenced by checkAuthObserver(), failedLoginObserver(), loginObserver(), and logoutObserver().
ilAuthBase::getExceededUserName | ( | ) |
ilAuthBase::getSubStatus | ( | ) |
Get sub status.
Definition at line 46 of file class.ilAuthBase.php.
References $sub_status.
|
finalprotected |
Init auth object Enable logging, set callbacks...
Definition at line 84 of file class.ilAuthBase.php.
References ilLoggerFactory\getLogger(), and ilSessionControl\initSession().
|
protected |
Called after successful login.
array | $a_username | |
object | $a_auth |
Definition at line 109 of file class.ilAuthBase.php.
References $_SERVER, $DIC, $ilLog, $ilSetting, $user, ilSecuritySettings\_getInstance(), ilObjUser\_loginExists(), ilObjUser\_resetLoginAttempts(), ilObjForum\_updateOldAccess(), AUTH_USER_INACTIVE, AUTH_USER_SIMULTANEOUS_LOGIN, AUTH_USER_TIME_LIMIT_EXCEEDED, AUTH_USER_WRONG_IP, ilAuthFactory\CONTEXT_ECS, getContainer(), ilAuthFactory\getContext(), ilLoggerFactory\getLogger(), ilSessionControl\handleLoginEvent(), ilObjUser\hasActiveSession(), and ilUserProfile\isProfileIncomplete().
|
protected |
Called after logout.
array | $a_username | |
object | $a_auth |
Definition at line 268 of file class.ilAuthBase.php.
References $DIC, $ilLog, getContainer(), ilLoggerFactory\getLogger(), and ilSessionControl\handleLogoutEvent().
ilAuthBase::setSubStatus | ( | $a_sub_status | ) |
ilAuthBase::supportsRedirects | ( | ) |
Returns true, if the current auth mode allows redirects to e.g the login screen, public section ...
Definition at line 65 of file class.ilAuthBase.php.
|
protected |
Definition at line 39 of file class.ilAuthBase.php.
Referenced by getExceededUserName().
|
protected |
Definition at line 37 of file class.ilAuthBase.php.
Referenced by getSubStatus().