ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct (ilAuthSession $session, ilAuthStatus $status, ilAuthCredentials $credentials, array $providers) | |
getAuthSession () | |
getCredentials () | |
getProviders () | |
getStatus () | |
resetStatus () | |
migrateAccount (ilAuthSession $session) | |
migrateAccountNew () | |
authenticate () | |
Data Fields | |
const string | MIG_EXTERNAL_ACCOUNT = 'mig_ext_account' |
const string | MIG_TRIGGER_AUTHMODE = 'mig_trigger_auth_mode' |
const string | MIG_DESIRED_AUTHMODE = 'mig_desired_auth_mode' |
Protected Member Functions | |
handleAccountMigration (ilAuthProviderAccountMigrationInterface $provider) | |
handleAuthenticationSuccess (ilAuthProviderInterface $provider) | |
checkActivation (ilObjUser $user) | |
checkExceededLoginAttempts (ilObjUser $user) | |
checkTimeLimit (ilObjUser $user) | |
checkIp (ilObjUser $user) | |
checkSimultaneousLogins (ilObjUser $user) | |
handleAuthenticationFail () | |
handleLoginAttempts () | |
Definition at line 21 of file class.ilAuthFrontend.php.
ilAuthFrontend::__construct | ( | ilAuthSession | $session, |
ilAuthStatus | $status, | ||
ilAuthCredentials | $credentials, | ||
array | $providers | ||
) |
list<ilAuthProviderInterface> | $providers |
Definition at line 43 of file class.ilAuthFrontend.php.
References $credentials, $DIC, $providers, $status, ILIAS\Repository\lng(), ILIAS\Repository\logger(), and ILIAS\Repository\settings().
ilAuthFrontend::authenticate | ( | ) |
Implements ilAuthFrontendInterface.
Definition at line 141 of file class.ilAuthFrontend.php.
References $provider, getProviders(), getStatus(), handleAccountMigration(), handleAuthenticationFail(), handleAuthenticationSuccess(), ILIAS\Repository\logger(), resetStatus(), ilAuthStatus\STATUS_ACCOUNT_MIGRATION_REQUIRED, ilAuthStatus\STATUS_AUTHENTICATED, and ilAuthStatus\STATUS_AUTHENTICATION_FAILED.
|
protected |
Definition at line 323 of file class.ilAuthFrontend.php.
References ilObjUser\getActive().
Referenced by handleAuthenticationSuccess().
|
protected |
Definition at line 328 of file class.ilAuthFrontend.php.
References ilSecuritySettings\_getInstance(), ilObjUser\_getLoginAttempts(), ANONYMOUS_USER_ID, ilObjUser\getActive(), and ilObject\getId().
Referenced by handleAuthenticationSuccess().
|
protected |
Definition at line 356 of file class.ilAuthFrontend.php.
References $_SERVER, ilObjUser\getClientIP(), and ilLoggerFactory\getLogger().
Referenced by handleAuthenticationSuccess().
|
protected |
Definition at line 372 of file class.ilAuthFrontend.php.
References getAuthSession(), ilObject\getId(), ilObjUser\hasActiveSession(), ILIAS\Repository\logger(), and ILIAS\Repository\settings().
Referenced by handleAuthenticationSuccess().
|
protected |
Definition at line 351 of file class.ilAuthFrontend.php.
References ilObjUser\checkTimeLimit().
Referenced by handleAuthenticationSuccess().
ilAuthFrontend::getAuthSession | ( | ) |
Definition at line 59 of file class.ilAuthFrontend.php.
References $auth_session.
Referenced by checkSimultaneousLogins(), and handleAuthenticationSuccess().
ilAuthFrontend::getCredentials | ( | ) |
Definition at line 64 of file class.ilAuthFrontend.php.
References $credentials.
Referenced by handleLoginAttempts(), and migrateAccount().
ilAuthFrontend::getProviders | ( | ) |
Definition at line 72 of file class.ilAuthFrontend.php.
References $providers.
Referenced by ilAuthFrontendHTTP\authenticate(), authenticate(), and migrateAccount().
ilAuthFrontend::getStatus | ( | ) |
Definition at line 77 of file class.ilAuthFrontend.php.
References $status.
Referenced by ilAuthFrontendHTTP\authenticate(), authenticate(), handleAccountMigration(), handleAuthenticationSuccess(), handleLoginAttempts(), migrateAccount(), migrateAccountNew(), and resetStatus().
|
protected |
Definition at line 173 of file class.ilAuthFrontend.php.
References ANONYMOUS_USER_ID, ilLogLevel\DEBUG, ilSession\dumpToString(), ilAuthProviderAccountMigrationInterface\getExternalAccountName(), getStatus(), ilAuthProviderAccountMigrationInterface\getTriggerAuthMode(), ilAuthProviderAccountMigrationInterface\getUserAuthModeName(), ILIAS\Repository\logger(), and ilSession\set().
Referenced by authenticate().
|
protected |
Definition at line 379 of file class.ilAuthFrontend.php.
References handleLoginAttempts(), and ILIAS\Repository\logger().
Referenced by authenticate(), migrateAccount(), and migrateAccountNew().
|
protected |
Definition at line 191 of file class.ilAuthFrontend.php.
References $_SERVER, ilSecuritySettings\_getInstance(), ilObjUser\_lookupLogin(), ilOnlineTracking\addUser(), ANONYMOUS_USER_ID, checkActivation(), checkExceededLoginAttempts(), checkIp(), checkSimultaneousLogins(), checkTimeLimit(), ilAuthFactory\CONTEXT_ECS, ilContext\CONTEXT_LTI_PROVIDER, getAuthSession(), ilAuthFactory\getContext(), ilObjectFactory\getInstanceByObjId(), ilLoggerFactory\getLogger(), getStatus(), ilContext\getType(), ilSessionControl\handleLoginEvent(), ilInitialisation\initUserAccount(), ILIAS\Repository\logger(), ilAppEventHandler\raise(), ilSession\set(), ILIAS\Repository\settings(), ilAuthStatus\STATUS_AUTHENTICATION_FAILED, and ilAuthStatus\STATUS_CODE_ACTIVATION_REQUIRED.
Referenced by ilAuthFrontendHTTP\authenticate(), authenticate(), migrateAccount(), and migrateAccountNew().
|
protected |
Definition at line 388 of file class.ilAuthFrontend.php.
References ilObjUser\_checkExternalAuthAccount(), ilAuthUtils\_getAuthModeName(), ilAuthModeDetermination\_getInstance(), ilSecuritySettings\_getInstance(), ilObjUser\_getLoginAttempts(), ilObjUser\_incrementLoginAttempts(), ilObjUser\_lookupId(), ilObjUser\_setUserInactive(), ANONYMOUS_USER_ID, ilAuthUtils\AUTH_LOCAL, getCredentials(), getStatus(), and ILIAS\Repository\logger().
Referenced by handleAuthenticationFail().
ilAuthFrontend::migrateAccount | ( | ilAuthSession | $session | ) |
Definition at line 89 of file class.ilAuthFrontend.php.
References $provider, ilSession\get(), getCredentials(), ilObjectFactory\getInstanceByObjId(), getProviders(), getStatus(), ilAuthSession\getUserId(), handleAuthenticationFail(), handleAuthenticationSuccess(), ilAuthSession\isAuthenticated(), ILIAS\Repository\logger(), and ilAuthStatus\STATUS_AUTHENTICATED.
ilAuthFrontend::migrateAccountNew | ( | ) |
Definition at line 123 of file class.ilAuthFrontend.php.
References $provider, getStatus(), handleAuthenticationFail(), handleAuthenticationSuccess(), ILIAS\Repository\logger(), and ilAuthStatus\STATUS_AUTHENTICATED.
ilAuthFrontend::resetStatus | ( | ) |
Definition at line 82 of file class.ilAuthFrontend.php.
References ANONYMOUS_USER_ID, getStatus(), and ilAuthStatus\STATUS_UNDEFINED.
Referenced by ilAuthFrontendHTTP\authenticate(), and authenticate().
|
private |
Definition at line 35 of file class.ilAuthFrontend.php.
Referenced by getAuthSession().
|
private |
Definition at line 31 of file class.ilAuthFrontend.php.
Referenced by __construct(), and getCredentials().
|
private |
Definition at line 36 of file class.ilAuthFrontend.php.
|
private |
Definition at line 29 of file class.ilAuthFrontend.php.
|
private |
Definition at line 27 of file class.ilAuthFrontend.php.
|
private |
Definition at line 34 of file class.ilAuthFrontend.php.
Referenced by __construct(), and getProviders().
|
private |
Definition at line 28 of file class.ilAuthFrontend.php.
|
private |
Definition at line 32 of file class.ilAuthFrontend.php.
Referenced by __construct(), and getStatus().
|
private |
Definition at line 38 of file class.ilAuthFrontend.php.
const string ilAuthFrontend::MIG_DESIRED_AUTHMODE = 'mig_desired_auth_mode' |
Definition at line 25 of file class.ilAuthFrontend.php.
const string ilAuthFrontend::MIG_EXTERNAL_ACCOUNT = 'mig_ext_account' |
Definition at line 23 of file class.ilAuthFrontend.php.
Referenced by ilStartUpGUI\doMigrationNewAccount().
const string ilAuthFrontend::MIG_TRIGGER_AUTHMODE = 'mig_trigger_auth_mode' |
Definition at line 24 of file class.ilAuthFrontend.php.
Referenced by ilStartUpGUI\doMigration(), and ilStartUpGUI\doMigrationNewAccount().