ILIAS
Release_4_4_x_branch Revision 61816
|
Base class for all PEAR and ILIAS auth classes. More...
Public Member Functions | |
supportsRedirects () | |
Returns true, if the current auth mode allows redirects to e.g the login screen, public section ... | |
getContainer () | |
Get container object. | |
getExceededUserName () |
Protected Member Functions | |
initAuth () | |
Init auth object Enable logging, set callbacks... | |
loginObserver ($a_username, $a_auth) | |
Called after successful login. | |
failedLoginObserver ($a_username, $a_auth) | |
Called after failed login. | |
checkAuthObserver ($a_username, $a_auth) | |
Called after each check auth request. | |
logoutObserver ($a_username, $a_auth) | |
Called after logout. |
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 245 of file class.ilAuthBase.php.
References getContainer().
|
protected |
Called after failed login.
array | $a_username | |
object | $a_auth |
Reimplemented in ilAuthHTTP.
Definition at line 208 of file class.ilAuthBase.php.
References $ilLog, $usr_id, ilSecuritySettings\_getInstance(), ilObjUser\_getLoginAttempts(), ilObjUser\_incrementLoginAttempts(), ilObjUser\_lookupId(), ilObjUser\_setUserInactive(), and getContainer().
|
final |
Get container object.
Definition at line 55 of file class.ilAuthBase.php.
Referenced by checkAuthObserver(), failedLoginObserver(), loginObserver(), and logoutObserver().
ilAuthBase::getExceededUserName | ( | ) |
Definition at line 268 of file class.ilAuthBase.php.
References $exceeded_user_name.
|
finalprotected |
Init auth object Enable logging, set callbacks...
Definition at line 65 of file class.ilAuthBase.php.
References $GLOBALS, AUTH_LOG_DEBUG, and ilSessionControl\initSession().
Referenced by ilAuthOpenId\__construct(), ilAuthCAS\__construct(), ilAuthSOAP\__construct(), ilAuthWeb\__construct(), ilAuthHTTP\__construct(), ilAuthCalendarToken\__construct(), ilAuthCron\__construct(), ilAuthApache\__construct(), and ilAuthECS\__construct().
|
protected |
Called after successful login.
array | $a_username | |
object | $a_auth |
Definition at line 92 of file class.ilAuthBase.php.
References $ilLog, $ilSetting, ilSecuritySettings\_getInstance(), ilObjUser\_loginExists(), ilObjUser\_resetLoginAttempts(), AUTH_USER_INACTIVE, AUTH_USER_SIMULTANEOUS_LOGIN, AUTH_USER_TIME_LIMIT_EXCEEDED, AUTH_USER_WRONG_IP, ilAuthFactory\CONTEXT_ECS, getContainer(), ilAuthFactory\getContext(), ilSessionControl\handleLoginEvent(), ilObjUser\hasActiveSession(), and ilUserProfile\isProfileIncomplete().
|
protected |
Called after logout.
array | $a_username | |
object | $a_auth |
Definition at line 257 of file class.ilAuthBase.php.
References $ilLog, getContainer(), and ilSessionControl\handleLogoutEvent().
ilAuthBase::supportsRedirects | ( | ) |
Returns true, if the current auth mode allows redirects to e.g the login screen, public section ...
Reimplemented in ShibAuth, ilAuthSOAP, ilAuthOpenId, ilAuthCron, ilAuthApache, ilAuthHTTP, ilAuthCalendar, ilAuthCalendarToken, ilAuthECS, ilAuthWeb, and ilAuthCAS.
Definition at line 46 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.