| ILIAS
    release_5-2 Revision v5.2.25-18-g3f80b828510
    | 
StartUp GUI class. More...
 Collaboration diagram for ilStartUpGUI:
 Collaboration diagram for ilStartUpGUI:| Public Member Functions | |
| __construct () | |
| constructor  More... | |
| executeCommand () | |
| execute command  More... | |
| getLogger () | |
| Get logger.  More... | |
| jumpToRegistration () | |
| jump to registration gui  More... | |
| jumpToPasswordAssistance () | |
| jump to password assistance  More... | |
| migrateAccount2 () | |
| migrate account  More... | |
| showLogout () | |
| show logout screen  More... | |
| showUserMappingSelection () | |
| Show user selection screen, if external account could not be mapped to an ILIAS account, but the provided e-mail address is known.  More... | |
| showClientList () | |
| show client list  More... | |
| showNoCookiesScreen () | |
| show help screen, if cookies are disabled  More... | |
| confirmRegistration () | |
| Static Public Member Functions | |
| static | _checkGoto ($a_target) | 
| Data Fields | |
| const | ACCOUNT_MIGRATION_MIGRATE = 1 | 
| const | ACCOUNT_MIGRATION_NEW = 2 | 
| Protected Member Functions | |
| showLoginPage (ilPropertyFormGUI $form=null) | |
| showLogin () | |
| Show login.  More... | |
| showCodeForm ($a_username=null, $a_form=null) | |
| initCodeForm ($a_username) | |
| processCode () | |
| initStandardLoginForm () | |
| Initialize the standard.  More... | |
| doShibbolethAuthentication () | |
| Trying shibboleth authentication.  More... | |
| doCasAuthentication () | |
| Try CAS auth.  More... | |
| doApacheAuthentication () | |
| Try apache auth.  More... | |
| doStandardAuthentication () | |
| Check form input; authenticate user.  More... | |
| showLoginForm ($page_editor_html, ilPropertyFormGUI $form=null) | |
| Show login form @global ilSetting $ilSetting.  More... | |
| showLoginInformation ($page_editor_html) | |
| Show login information.  More... | |
| showCASLoginForm ($page_editor_html) | |
| Show cas login @global ilSetting $ilSetting.  More... | |
| showShibbolethLoginForm ($page_editor_html) | |
| Show shibboleth login form.  More... | |
| substituteLoginPageElements ($tpl, $page_editor_html, $element_html, $placeholder, $fallback_tplvar) | |
| Substitute login page elements.  More... | |
| getLoginPageEditorHTML () | |
| Get HTML of ILIAS login page editor.  More... | |
| showRegistrationLinks ($page_editor_html) | |
| Show registration, password forgotten, client slection links @global ilLanguage $lng @global ilSetting $ilSetting @global <type> $ilIliasIniFile.  More... | |
| purgePlaceholders ($page_editor_html) | |
| Purge page editor html from unused placeholders.  More... | |
| migrateAccount () | |
| Migrate Account.  More... | |
| doMigrationNewAccount () | |
| Create new account for migration.  More... | |
| doMigration () | |
| Do migration of existing ILIAS database user account.  More... | |
| getAcceptance () | |
| Get terms of service.  More... | |
| processIndexPHP () | |
| process index.php  More... | |
| Static Protected Member Functions | |
| static | getLanguageSelection () | 
| language selection list  More... | |
| Protected Attributes | |
| $ctrl | |
| $lng | |
| $logger | |
StartUp GUI class.
Handles Login and Registration.
Definition at line 15 of file class.ilStartUpGUI.php.
| ilStartUpGUI::__construct | ( | ) | 
constructor
Definition at line 27 of file class.ilStartUpGUI.php.
References $ilCtrl, $lng, and ilLoggerFactory\getLogger().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Definition at line 1975 of file class.ilStartUpGUI.php.
References $_SESSION, $ilUser, $location, $path, $ref_id, $ret, ilObject\_getAllReferences(), ilObjCourse\_isActivated(), ilGroupParticipants\_isParticipant(), ilLMObject\_lookupContObjID(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilObjCourse\_registrationEnabled(), ilParticipants\getDefaultMemberRole(), ilPluginAdmin\getPluginObject(), IL_COMP_SERVICE, and ilUtil\redirect().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilStartUpGUI::confirmRegistration | ( | ) | 
Definition at line 2174 of file class.ilStartUpGUI.php.
References $_COOKIE, $_GET, $ilLog, $lng, $target, ilObjUserFolder\_lookupNewAccountMail(), ilObjUser\_verifyRegistrationHash(), ilUtil\generatePasswords(), ilObjectFactory\getInstanceByObjId(), IL_PASSWD_PLAIN, ilUtil\redirect(), and ilUtil\setCookie().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Try apache auth.
Definition at line 771 of file class.ilStartUpGUI.php.
References $GLOBALS, League\OAuth2\Client\Provider\$provider, ilUtil\appendUrlParameterString(), AUTH_APACHE, ilAuthFrontendFactory\CONTEXT_STANDARD_FORM, ilAuthStatus\getInstance(), ilLoggerFactory\getLogger(), getLogger(), ilUtil\redirect(), ilUtil\sendFailure(), showLoginPage(), ilAuthStatus\STATUS_ACCOUNT_MIGRATION_REQUIRED, ilAuthStatus\STATUS_AUTHENTICATED, and ilAuthStatus\STATUS_AUTHENTICATION_FAILED.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Try CAS auth.
Definition at line 726 of file class.ilStartUpGUI.php.
References $DIC, $GLOBALS, League\OAuth2\Client\Provider\$provider, AUTH_CAS, ilAuthFrontendFactory\CONTEXT_STANDARD_FORM, ilAuthStatus\getInstance(), getLogger(), ilUtil\sendFailure(), showLoginPage(), ilAuthStatus\STATUS_AUTHENTICATED, and ilAuthStatus\STATUS_AUTHENTICATION_FAILED.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Do migration of existing ILIAS database user account.
Definition at line 1397 of file class.ilStartUpGUI.php.
References $_POST, $GLOBALS, League\OAuth2\Client\Provider\$provider, AUTH_LOCAL, ilAuthFrontendFactory\CONTEXT_STANDARD_FORM, ilSession\get(), ilAuthStatus\getInstance(), getLogger(), ilAuthFrontend\MIG_TRIGGER_AUTHMODE, ilUtil\sendFailure(), and ilAuthStatus\STATUS_AUTHENTICATED.
Referenced by migrateAccount().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Create new account for migration.
Definition at line 1354 of file class.ilStartUpGUI.php.
References $GLOBALS, League\OAuth2\Client\Provider\$provider, ilAuthFrontendFactory\CONTEXT_STANDARD_FORM, ilSession\get(), ilAuthStatus\getInstance(), ilAuthFrontend\MIG_EXTERNAL_ACCOUNT, ilAuthFrontend\MIG_TRIGGER_AUTHMODE, and ilUtil\sendFailure().
Referenced by migrateAccount().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Trying shibboleth authentication.
Definition at line 674 of file class.ilStartUpGUI.php.
References $GLOBALS, League\OAuth2\Client\Provider\$provider, AUTH_SHIBBOLETH, ilAuthFrontendFactory\CONTEXT_STANDARD_FORM, ilAuthStatus\getInstance(), ilLoggerFactory\getLogger(), getLogger(), ilUtil\sendFailure(), showLoginPage(), ilAuthStatus\STATUS_ACCOUNT_MIGRATION_REQUIRED, ilAuthStatus\STATUS_AUTHENTICATED, and ilAuthStatus\STATUS_AUTHENTICATION_FAILED.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Check form input; authenticate user.
Definition at line 835 of file class.ilStartUpGUI.php.
References $GLOBALS, ilAuthModeDetermination\_getInstance(), ilAuthUtils\_hasMultipleAuthenticationMethods(), ilObjUser\_lookupLogin(), ilAuthFrontendFactory\CONTEXT_STANDARD_FORM, ilAuthStatus\getInstance(), ilLoggerFactory\getLogger(), getLogger(), initStandardLoginForm(), ilUtil\sendFailure(), showCodeForm(), showLoginPage(), ilAuthStatus\STATUS_ACCOUNT_MIGRATION_REQUIRED, ilAuthStatus\STATUS_AUTHENTICATED, ilAuthStatus\STATUS_AUTHENTICATION_FAILED, and ilAuthStatus\STATUS_CODE_ACTIVATION_REQUIRED.
 Here is the call graph for this function:
 Here is the call graph for this function:| ilStartUpGUI::executeCommand | ( | ) | 
execute command
Definition at line 43 of file class.ilStartUpGUI.php.
References $cmd.
Referenced by jumpToPasswordAssistance(), and jumpToRegistration().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Get terms of service.
Definition at line 1873 of file class.ilStartUpGUI.php.
| 
 | staticprotected | 
language selection list
Definition at line 2387 of file class.ilStartUpGUI.php.
References ilMainMenuGUI\getLanguageSelection().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilStartUpGUI::getLogger | ( | ) | 
Get logger.
Definition at line 70 of file class.ilStartUpGUI.php.
References $logger.
Referenced by doApacheAuthentication(), doCasAuthentication(), doMigration(), doShibbolethAuthentication(), doStandardAuthentication(), showLogin(), and showLoginPage().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Get HTML of ILIAS login page editor.
Definition at line 1083 of file class.ilStartUpGUI.php.
References $lng, $ret, $tpl, ilPageUtil\_existsAndNotEmpty(), ilObjStyleSheet\getContentStylePath(), ilAuthLoginPageEditorSettings\getInstance(), ilObjStyleSheet\getSyntaxStylePath(), and ilLanguage\lookupId().
Referenced by showLogin(), and showLoginPage().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 476 of file class.ilStartUpGUI.php.
Referenced by processCode(), and showCodeForm().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Initialize the standard.
Definition at line 598 of file class.ilStartUpGUI.php.
References ilAuthModeDetermination\_getInstance(), ilAuthUtils\_getMultipleAuthModeOptions(), and ilAuthUtils\_hasMultipleAuthenticationMethods().
Referenced by doStandardAuthentication(), and showLoginForm().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilStartUpGUI::jumpToPasswordAssistance | ( | ) | 
jump to password assistance
Definition at line 90 of file class.ilStartUpGUI.php.
References executeCommand().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilStartUpGUI::jumpToRegistration | ( | ) | 
jump to registration gui
Definition at line 79 of file class.ilStartUpGUI.php.
References executeCommand().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Migrate Account.
Definition at line 1320 of file class.ilStartUpGUI.php.
References $_POST, $GLOBALS, doMigration(), and doMigrationNewAccount().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilStartUpGUI::migrateAccount2 | ( | ) | 
migrate account
@access public
Definition at line 1472 of file class.ilStartUpGUI.php.
References $_POST, $ilLog, $lng, League\OAuth2\Client\Provider\$provider, ilAuthModeDetermination\_getInstance(), ilAuthUtils\_hasMultipleAuthenticationMethods(), ilObjUser\_lookupId(), AUTH_LOCAL, ilAuthFactory\factory(), ilSession\get(), ilLoggerFactory\getLogger(), ilAuthStatus\STATUS_AUTHENTICATED, and ilUtil\stripSlashes().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Definition at line 510 of file class.ilStartUpGUI.php.
References $_POST, $code, $GLOBALS, $ilCtrl, $lng, ilObjUser\_lookupId(), ilAccountCode\applyAccessLimits(), ilAccountCode\applyRoleAssignments(), ilAccountCode\getCodeValidUntil(), initCodeForm(), ilAccountCode\isUnusedCode(), ilUtil\sendSuccess(), showCodeForm(), showLogin(), and ilAccountCode\useCode().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
process index.php
Definition at line 1939 of file class.ilStartUpGUI.php.
References $_GET, $GLOBALS, $ilIliasIniFile, $ilSetting, ilInitialisation\goToPublicSection(), showClientList(), and showLoginPage().
Referenced by showClientList().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Purge page editor html from unused placeholders.
| string | $page_editor_html | 
Definition at line 1234 of file class.ilStartUpGUI.php.
Referenced by showLogin(), and showLoginPage().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Show cas login @global ilSetting $ilSetting.
| string | $page_editor_html | 
Definition at line 969 of file class.ilStartUpGUI.php.
References $GLOBALS, $ilSetting, $lng, $tpl, ilUtil\getImagePath(), and substituteLoginPageElements().
Referenced by showLogin(), and showLoginPage().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilStartUpGUI::showClientList | ( | ) | 
show client list
Definition at line 1735 of file class.ilStartUpGUI.php.
References $_GET, $client, $data, $ilIliasIniFile, $lng, $tbl, $tpl, exit, ilUtil\getStyleSheetLocation(), and processIndexPHP().
Referenced by processIndexPHP().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 459 of file class.ilStartUpGUI.php.
References $lng, $tpl, initCodeForm(), and ilUtil\sendFailure().
Referenced by doStandardAuthentication(), processCode(), and showLogin().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Show login.
@global ilLanguage $lng
Definition at line 208 of file class.ilStartUpGUI.php.
References $_COOKIE, $_GET, $_SERVER, $failure, $ilSetting, $lng, $success, $tpl, AUTH_APACHE_FAILED, AUTH_CAPTCHA_INVALID, AUTH_CAS_NO_ILIAS_USER, AUTH_LDAP_NO_ILIAS_USER, AUTH_MODE_INACTIVE, AUTH_RADIUS_NO_ILIAS_USER, AUTH_SOAP_NO_ILIAS_USER, AUTH_USER_INACTIVE, AUTH_USER_SIMULTANEOUS_LOGIN, AUTH_USER_TIME_LIMIT_EXCEEDED, AUTH_USER_WRONG_IP, getLogger(), getLoginPageEditorHTML(), purgePlaceholders(), ilUtil\redirect(), ilUtil\sendFailure(), ilUtil\sendSuccess(), ilSession\SESSION_CLOSE_CAPTCHA, ilSession\SESSION_CLOSE_INACTIVE, ilSession\SESSION_CLOSE_IP, ilSession\SESSION_CLOSE_SIMUL, ilSession\SESSION_CLOSE_TIME, ilSession\setClosingContext(), ilUtil\setCookie(), showCASLoginForm(), showCodeForm(), showLoginForm(), showLoginInformation(), showRegistrationLinks(), showShibbolethLoginForm(), sprintf, and ilLogLevel\WARNING.
Referenced by processCode().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Show login form @global ilSetting $ilSetting.
| string | $page_editor_html | 
Definition at line 909 of file class.ilStartUpGUI.php.
References $ilSetting, $lng, $tpl, AUTH_CAS, AUTH_SHIBBOLETH, initStandardLoginForm(), and substituteLoginPageElements().
Referenced by showLogin(), and showLoginPage().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Show login information.
| string | $page_editor_html | 
Definition at line 943 of file class.ilStartUpGUI.php.
Referenced by showLogin(), and showLoginPage().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 154 of file class.ilStartUpGUI.php.
References $GLOBALS, $ilSetting, $tpl, getLogger(), getLoginPageEditorHTML(), purgePlaceholders(), ilUtil\sendFailure(), showCASLoginForm(), showLoginForm(), showLoginInformation(), showRegistrationLinks(), and showShibbolethLoginForm().
Referenced by doApacheAuthentication(), doCasAuthentication(), doShibbolethAuthentication(), doStandardAuthentication(), and processIndexPHP().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilStartUpGUI::showLogout | ( | ) | 
show logout screen
Definition at line 1616 of file class.ilStartUpGUI.php.
References $_COOKIE, $client_id, $GLOBALS, $ilIliasIniFile, $ilSetting, $lng, $tpl, ilSession\SESSION_CLOSE_USER, ilSession\setClosingContext(), ilUtil\setCookie(), and user().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilStartUpGUI::showNoCookiesScreen | ( | ) | 
show help screen, if cookies are disabled
to do: link to online help here
Definition at line 1844 of file class.ilStartUpGUI.php.
References $tpl.
| 
 | protected | 
Show registration, password forgotten, client slection links @global ilLanguage $lng @global ilSetting $ilSetting @global <type> $ilIliasIniFile.
| string | $page_editor_html | 
Definition at line 1134 of file class.ilStartUpGUI.php.
References $_COOKIE, $GLOBALS, $ilIliasIniFile, $ilSetting, $lng, ilRegistrationSettings\_lookupRegistrationType(), IL_REG_DISABLED, and substituteLoginPageElements().
Referenced by showLogin(), and showLoginPage().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Show shibboleth login form.
| string | $page_editor_html | 
Definition at line 1001 of file class.ilStartUpGUI.php.
References $_GET, $GLOBALS, $ilSetting, $lng, $tpl, sprintf, and substituteLoginPageElements().
Referenced by showLogin(), and showLoginPage().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilStartUpGUI::showUserMappingSelection | ( | ) | 
Show user selection screen, if external account could not be mapped to an ILIAS account, but the provided e-mail address is known.
Definition at line 1669 of file class.ilStartUpGUI.php.
References $_GET, $_POST, $lng, $tpl, $valid, ilObjUser\_getLocalAccountsForEmail(), ilUtil\prepareFormOutput(), and ilUtil\sendFailure().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Substitute login page elements.
| ilTemplate | $tpl | |
| string | $page_editor_html | |
| string | $element_html | |
| string | $placeholder | |
| string | $fallback_tplvar | return string $page_editor_html | 
Definition at line 1063 of file class.ilStartUpGUI.php.
References $tpl.
Referenced by showCASLoginForm(), showLoginForm(), showRegistrationLinks(), and showShibbolethLoginForm().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 20 of file class.ilStartUpGUI.php.
| 
 | protected | 
Definition at line 21 of file class.ilStartUpGUI.php.
Referenced by __construct(), confirmRegistration(), getLoginPageEditorHTML(), initCodeForm(), migrateAccount2(), processCode(), showCASLoginForm(), showClientList(), showCodeForm(), showLogin(), showLoginForm(), showLoginInformation(), showLogout(), showRegistrationLinks(), showShibbolethLoginForm(), and showUserMappingSelection().
| 
 | protected | 
Definition at line 22 of file class.ilStartUpGUI.php.
Referenced by getLogger().
| const ilStartUpGUI::ACCOUNT_MIGRATION_MIGRATE = 1 | 
Definition at line 17 of file class.ilStartUpGUI.php.
| const ilStartUpGUI::ACCOUNT_MIGRATION_NEW = 2 | 
Definition at line 18 of file class.ilStartUpGUI.php.