ILIAS
Release_5_0_x_branch Revision 61816
|
Base class for all PEAR and ILIAS auth classes. More...
Public Member Functions | |
getSubStatus () | |
Get sub status. | |
setSubStatus ($a_sub_status) | |
Set sub status. | |
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 264 of file class.ilAuthBase.php.
References getContainer().
|
protected |
Called after failed login.
array | $a_username | |
object | $a_auth |
Reimplemented in ilAuthHTTP.
Definition at line 227 of file class.ilAuthBase.php.
References $ilLog, ilSecuritySettings\_getInstance(), ilObjUser\_getLoginAttempts(), ilObjUser\_incrementLoginAttempts(), ilObjUser\_lookupId(), ilObjUser\_setUserInactive(), and getContainer().
|
final |
Get container object.
Definition at line 74 of file class.ilAuthBase.php.
Referenced by checkAuthObserver(), failedLoginObserver(), loginObserver(), and logoutObserver().
ilAuthBase::getExceededUserName | ( | ) |
Definition at line 292 of file class.ilAuthBase.php.
References $exceeded_user_name.
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 $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 111 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 276 of file class.ilAuthBase.php.
References $ilLog, getContainer(), and ilSessionControl\handleLogoutEvent().
ilAuthBase::setSubStatus | ( | $a_sub_status | ) |
Set sub status.
type | $a_sub_status |
Definition at line 55 of file class.ilAuthBase.php.
ilAuthBase::supportsRedirects | ( | ) |
Returns true, if the current auth mode allows redirects to e.g the login screen, public section ...
Reimplemented in ilAuthSOAP, ShibAuth, ilAuthOpenId, ilAuthCron, ilAuthApache, ilAuthHTTP, ilAuthCalendar, ilAuthCalendarToken, ilAuthECS, ilAuthWeb, and ilAuthCAS.
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().