| ILIAS
    release_5-3 Revision v5.3.23-19-g915713cf615
    | 
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... | |
| 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... | |
| 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... | |
| doLTIAuthentication () | |
| Handle lti requests.  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... | |
| showSamlLoginForm ($page_editor_html) | |
| doSamlAuthentication () | |
| showSamlIdpSelection (\ilSamlAuth $auth, array $idps) | |
| 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 28 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 1777 of file class.ilStartUpGUI.php.
References $_SESSION, $ilUser, $location, $path, $ret, $type, 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:| 
 | protected | 
Try apache auth.
Definition at line 770 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 679 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 | 
Handle lti requests.
Definition at line 723 of file class.ilStartUpGUI.php.
References $GLOBALS, League\OAuth2\Client\Provider\$provider, 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 | 
Do migration of existing ILIAS database user account.
Definition at line 1373 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 1331 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 | 
Definition at line 2138 of file class.ilStartUpGUI.php.
References $_GET, $_POST, $auth, $DIC, $factory, $GLOBALS, $idp, $params, League\OAuth2\Client\Provider\$provider, AUTH_SAML, ilAuthFrontendFactory\CONTEXT_STANDARD_FORM, ilSamlIdp\getActiveIdpList(), ilAuthStatus\getInstance(), ilLoggerFactory\getLogger(), getLogger(), ilUtil\sendFailure(), showLoginPage(), showSamlIdpSelection(), ilAuthStatus\STATUS_ACCOUNT_MIGRATION_REQUIRED, ilAuthStatus\STATUS_AUTHENTICATED, ilAuthStatus\STATUS_AUTHENTICATION_FAILED, and ilUtil\stripSlashes().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Trying shibboleth authentication.
Definition at line 628 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 830 of file class.ilStartUpGUI.php.
References $form, $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 44 of file class.ilStartUpGUI.php.
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 1690 of file class.ilStartUpGUI.php.
| 
 | staticprotected | 
language selection list
Definition at line 2094 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(), doLTIAuthentication(), doMigration(), doSamlAuthentication(), 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 1066 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 444 of file class.ilStartUpGUI.php.
References $form, $ilCtrl, and $lng.
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 560 of file class.ilStartUpGUI.php.
References $form, $key, 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 1301 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:| 
 | protected | 
Definition at line 478 of file class.ilStartUpGUI.php.
References $_POST, $code, $form, $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 1749 of file class.ilStartUpGUI.php.
References $_GET, $_SERVER, $GLOBALS, $ilIliasIniFile, $ilSetting, ilPublicSectionSettings\getInstance(), 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 1216 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 955 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 1559 of file class.ilStartUpGUI.php.
References $_GET, $client, $data, $ilIliasIniFile, $key, $list, $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 428 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 203 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_SAML_FAILED, 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(), showSamlLoginForm(), 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 900 of file class.ilStartUpGUI.php.
References $form, $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 931 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 150 of file class.ilStartUpGUI.php.
References $form, $GLOBALS, $ilSetting, $tpl, getLogger(), getLoginPageEditorHTML(), purgePlaceholders(), ilUtil\sendFailure(), showCASLoginForm(), showLoginForm(), showLoginInformation(), showRegistrationLinks(), showSamlLoginForm(), and showShibbolethLoginForm().
Referenced by doApacheAuthentication(), doCasAuthentication(), doLTIAuthentication(), doSamlAuthentication(), 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 1442 of file class.ilStartUpGUI.php.
References $_COOKIE, $_SERVER, $client_id, $GLOBALS, $ilIliasIniFile, $ilSetting, $lng, $tpl, AUTH_SAML, ilSession\get(), ilPublicSectionSettings\getInstance(), ilUtil\redirect(), 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 1661 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 1115 of file class.ilStartUpGUI.php.
References $_COOKIE, $_SERVER, $GLOBALS, $ilIliasIniFile, $ilSetting, $lng, ilRegistrationSettings\_lookupRegistrationType(), ilPublicSectionSettings\getInstance(), 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 | 
| \ilSamlAuth | $auth | |
| \ilSamlIdp[] | $idps | 
Definition at line 2235 of file class.ilStartUpGUI.php.
References $DIC, $factory, $idp, and $table.
Referenced by doSamlAuthentication().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
| string | $page_editor_html | 
Definition at line 2104 of file class.ilStartUpGUI.php.
References $_GET, $GLOBALS, $tpl, ilSamlIdp\getActiveIdpList(), ilSamlSettings\getInstance(), ilUtil\stripSlashes(), 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 986 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 1499 of file class.ilStartUpGUI.php.
References $_GET, $_POST, $key, $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 1048 of file class.ilStartUpGUI.php.
References $tpl.
Referenced by showCASLoginForm(), showLoginForm(), showRegistrationLinks(), showSamlLoginForm(), and showShibbolethLoginForm().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 21 of file class.ilStartUpGUI.php.
| 
 | protected | 
Definition at line 22 of file class.ilStartUpGUI.php.
Referenced by __construct(), getLoginPageEditorHTML(), initCodeForm(), processCode(), showCASLoginForm(), showClientList(), showCodeForm(), showLogin(), showLoginForm(), showLoginInformation(), showLogout(), showRegistrationLinks(), showShibbolethLoginForm(), and showUserMappingSelection().
| 
 | protected | 
Definition at line 23 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.