ILIAS
release_4-3 Revision
|
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. |
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 |
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 249 of file class.ilAuthBase.php.
References getContainer().
|
protected |
Called after failed login.
array | $a_username | |
object | $a_auth |
Reimplemented in ilAuthHTTP.
Definition at line 211 of file class.ilAuthBase.php.
References $ilLog, $usr_id, ilSecuritySettings\_getInstance(), ilObjUser\_getLoginAttempts(), ilObjUser\_incrementLoginAttempts(), ilObjUser\_lookupId(), ilObjUser\_setUserInactive(), ilSecuritySettings\ACCOUNT_SECURITY_MODE_CUSTOMIZED, and getContainer().
|
final |
Get container object.
Definition at line 53 of file class.ilAuthBase.php.
Referenced by checkAuthObserver(), failedLoginObserver(), loginObserver(), and logoutObserver().
|
finalprotected |
Init auth object Enable logging, set callbacks...
Definition at line 63 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 90 of file class.ilAuthBase.php.
References $ilLog, $ilSetting, ilSecuritySettings\_getInstance(), ilObjUser\_loginExists(), ilObjUser\_resetLoginAttempts(), ilSecuritySettings\ACCOUNT_SECURITY_MODE_CUSTOMIZED, 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 261 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 44 of file class.ilAuthBase.php.
|
protected |
Definition at line 37 of file class.ilAuthBase.php.