|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
@classDescription Base class for all PEAR and ILIAS auth classes. More...
Inheritance diagram for ilAuthBase:
Collaboration diagram for ilAuthBase: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... | |
| checkExceededLoginAttempts (\ilObjUser $user) | |
| 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 | |
@classDescription 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 302 of file class.ilAuthBase.php.
References getContainer().
Here is the call graph for this function:
|
protected |
| \ilObjUser | $user |
Definition at line 231 of file class.ilAuthBase.php.
References ilSecuritySettings\_getInstance(), ilObjUser\_getLoginAttempts(), ilObjUser\getActive(), and ilObject\getId().
Referenced by loginObserver().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Called after failed login.
| array | $a_username | |
| object | $a_auth |
Reimplemented in ilAuthHTTP.
Definition at line 264 of file class.ilAuthBase.php.
References $_SERVER, $ilLog, ilSecuritySettings\_getInstance(), ilObjUser\_getLoginAttempts(), ilObjUser\_incrementLoginAttempts(), ilObjUser\_lookupId(), ilObjUser\_setUserInactive(), getContainer(), and ilLoggerFactory\getLogger().
Here is the call graph for this function:
|
final |
Get container object.
Definition at line 74 of file class.ilAuthBase.php.
Referenced by checkAuthObserver(), failedLoginObserver(), loginObserver(), and logoutObserver().
Here is the caller graph for this function:| 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 AUTH_LOG_DEBUG, ilLoggerFactory\getLogger(), and ilSessionControl\initSession().
Referenced by ilAuthApache\__construct(), ilAuthWeb\__construct(), ilAuthOpenId\__construct(), ilAuthCAS\__construct(), ilAuthCron\__construct(), ilAuthHTTP\__construct(), ilAuthCalendarToken\__construct(), ilAuthECS\__construct(), and ilAuthSOAP\__construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Called after successful login.
| array | $a_username | |
| object | $a_auth |
Definition at line 111 of file class.ilAuthBase.php.
References $_SERVER, $ilLog, $ilSetting, ilSecuritySettings\_getInstance(), ilObjUser\_loginExists(), ilObjUser\_resetLoginAttempts(), AUTH_USER_INACTIVE, AUTH_USER_INACTIVE_LOGIN_ATTEMPTS, AUTH_USER_SIMULTANEOUS_LOGIN, AUTH_USER_TIME_LIMIT_EXCEEDED, AUTH_USER_WRONG_IP, checkExceededLoginAttempts(), ilAuthFactory\CONTEXT_ECS, getContainer(), ilAuthFactory\getContext(), ilLoggerFactory\getLogger(), ilSessionControl\handleLoginEvent(), ilObjUser\hasActiveSession(), ilUserProfile\isProfileIncomplete(), and loginObserver().
Referenced by loginObserver().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Called after logout.
| array | $a_username | |
| object | $a_auth |
Definition at line 313 of file class.ilAuthBase.php.
References $ilLog, getContainer(), ilLoggerFactory\getLogger(), and ilSessionControl\handleLogoutEvent().
Here is the call graph for this function:| 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 ilAuthCron, ilAuthApache, ilAuthHTTP, ilAuthWeb, ShibAuth, ilAuthCalendar, ilAuthCalendarToken, ilAuthCAS, ilAuthOpenId, ilAuthECS, and ilAuthSOAP.
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().