|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Inheritance diagram for ilPasswordAssistanceGUI:
Collaboration diagram for ilPasswordAssistanceGUI:Public Member Functions | |
| __construct () | |
| executeCommand () | |
| getUnsafeGetCommands () | |
| This method must return a list of unsafe GET commands. More... | |
| getSafePostCommands () | |
| This method must return a list of safe POST commands. More... | |
| getUnsafeGetCommands () | |
| This method must return a list of unsafe GET commands. More... | |
| getSafePostCommands () | |
| This method must return a list of safe POST commands. More... | |
Private Member Functions | |
| retrieveRequestedKey () | |
| getClientId () | |
| getBaseUrl () | |
| buildUrl (string $script, array $query_parameters) | |
| emailTrafo () | |
| mergeValuesTrafo () | |
| saniziteArrayElementsTrafo () | |
| trimIfStringTrafo () | |
| getAssistanceForm () | |
| showAssistanceForm (?ILIAS\UI\Component\Input\Container\Form\Form $form=null) | |
| submitAssistanceForm () | |
| If the submitted username and email address matches an entry in the user data table, then ILIAS creates a password assistance session for the user, and sends a password assistance mail to the email address. More... | |
| getAssignPasswordForm (?string $pwassist_id=null) | |
| getUsernameAssistanceForm () | |
| showUsernameAssistanceForm (?ILIAS\UI\Component\Input\Container\Form\Form $form=null) | |
| submitUsernameAssistanceForm () | |
| sendUsernameAssistanceMail (string $email, array $logins) | |
| showMessageForm (string $text, string $permanent_link_context) | |
| fillPermanentLink (string $context) | |
| buildSystemMailBody (string $content) | |
| Appends the installation signature using line breaks that match the resolved mail body format. More... | |
Private Attributes | |
| const string | PERMANENT_LINK_TARGET_PW = 'password' |
| const string | PERMANENT_LINK_TARGET_NAME = 'username' |
| const string | PROP_USERNAME = 'username' |
| const string | PROP_EMAIL = 'email' |
| const string | PROP_PASSWORD = 'password' |
| const string | PROP_KEY = 'key' |
| ilCtrlInterface | $ctrl |
| ilLanguage | $lng |
| ilRbacReview | $rbacreview |
| ilGlobalTemplateInterface | $tpl |
| ilSetting | $settings |
| ilErrorHandling | $ilErr |
| RefineryFactory | $refinery |
| HTTPServices | $http |
| ilHelpGUI | $help |
| ILIAS UI Factory | $ui_factory |
| ILIAS UI Renderer | $ui_renderer |
| ilObjUser | $actor |
| ILIAS Data Clock ClockInterface | $clock |
| ILIAS Init PasswordAssitance PasswordAssistanceRepository | $pwa_repository |
| readonly ILIAS Mail Service MailSignatureService | $signature_service |
Definition at line 24 of file class.ilPasswordAssistanceGUI.php.
| ilPasswordAssistanceGUI::__construct | ( | ) |
Definition at line 50 of file class.ilPasswordAssistanceGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ILIAS\Repository\help(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\settings().
Here is the call graph for this function:
|
private |
Appends the installation signature using line breaks that match the resolved mail body format.
This should be not needed once "Mail" does not accept primitive strings anymore but supports real "Text" handling {
Definition at line 861 of file class.ilPasswordAssistanceGUI.php.
References $body.
|
private |
| array<string,string> | $query_parameters |
Definition at line 152 of file class.ilPasswordAssistanceGUI.php.
References ilUtil\appendUrlParameterString(), and getBaseUrl().
Here is the call graph for this function:
|
private |
Definition at line 167 of file class.ilPasswordAssistanceGUI.php.
References ilUtil\is_email(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ilPasswordAssistanceGUI::executeCommand | ( | ) |
Definition at line 98 of file class.ilPasswordAssistanceGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), retrieveRequestedKey(), ILIAS\Repository\settings(), and showAssistanceForm().
Here is the call graph for this function:
|
private |
Definition at line 851 of file class.ilPasswordAssistanceGUI.php.
Referenced by showAssistanceForm().
Here is the caller graph for this function:
|
private |
Definition at line 439 of file class.ilPasswordAssistanceGUI.php.
References $lng, ILIAS\Repository\ctrl(), ilSecuritySettingsChecker\getPasswordRequirementsInfo(), ilSecuritySettingsChecker\isPassword(), ILIAS\Repository\lng(), mergeValuesTrafo(), ILIAS\User\Settings\Password, ILIAS\Repository\refinery(), saniziteArrayElementsTrafo(), and ILIAS\UI\Implementation\Component\Input\ViewControl\withAdditionalTransformation().
Here is the call graph for this function:
|
private |
Definition at line 202 of file class.ilPasswordAssistanceGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), mergeValuesTrafo(), and saniziteArrayElementsTrafo().
Referenced by submitAssistanceForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 144 of file class.ilPasswordAssistanceGUI.php.
References ilUtil\_getHttpPath().
Referenced by buildUrl().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 93 of file class.ilPasswordAssistanceGUI.php.
References CLIENT_ID.
| ilPasswordAssistanceGUI::getSafePostCommands | ( | ) |
This method must return a list of safe POST commands.
Safe post commands returned by this method will no longer be CSRF protected and will NOT be appended by an ilCtrlToken.
Implements ilCtrlSecurityInterface.
Definition at line 139 of file class.ilPasswordAssistanceGUI.php.
| ilPasswordAssistanceGUI::getUnsafeGetCommands | ( | ) |
This method must return a list of unsafe GET commands.
Unsafe get commands returned by this method will now be CSRF protected, which means an ilCtrlToken is appended each time a link-target is generated to the class implementing this interface with a command from that list.
Tokens will be validated in
Implements ilCtrlSecurityInterface.
Definition at line 134 of file class.ilPasswordAssistanceGUI.php.
|
private |
Definition at line 686 of file class.ilPasswordAssistanceGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 177 of file class.ilPasswordAssistanceGUI.php.
References ILIAS\Repository\refinery().
Referenced by getAssignPasswordForm(), and getAssistanceForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 75 of file class.ilPasswordAssistanceGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 184 of file class.ilPasswordAssistanceGUI.php.
References ILIAS\Repository\refinery(), and ilArrayUtil\stripSlashesRecursive().
Referenced by getAssignPasswordForm(), and getAssistanceForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| list<string> | $logins |
Definition at line 799 of file class.ilPasswordAssistanceGUI.php.
References $DIC, ILIAS\Repository\lng(), and ILIAS\Repository\settings().
Here is the call graph for this function:
|
private |
Definition at line 235 of file class.ilPasswordAssistanceGUI.php.
References $tpl, fillPermanentLink(), ilUtil\getImagePath(), ILIAS\Repository\help(), ilStartUpGUI\initStartUpTemplate(), ILIAS\Repository\lng(), ilLegacyFormElementsUtil\prepareFormOutput(), ilStartUpGUI\printToGlobalTemplate(), and ILIAS\UICore\GlobalTemplate\setVariable().
Referenced by executeCommand(), and submitAssistanceForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 834 of file class.ilPasswordAssistanceGUI.php.
References $text, ILIAS\News\Common\Table\$tpl, ilUtil\getImagePath(), ilStartUpGUI\initStartUpTemplate(), ILIAS\Repository\lng(), ilStartUpGUI\printToGlobalTemplate(), and ILIAS\UICore\GlobalTemplate\setVariable().
Referenced by submitAssistanceForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 715 of file class.ilPasswordAssistanceGUI.php.
References ILIAS\News\Common\Table\$tpl, ilUtil\getImagePath(), ILIAS\Repository\help(), ilStartUpGUI\initStartUpTemplate(), ILIAS\Repository\lng(), ilLegacyFormElementsUtil\prepareFormOutput(), ilStartUpGUI\printToGlobalTemplate(), and ILIAS\UICore\GlobalTemplate\setVariable().
Here is the call graph for this function:
|
private |
If the submitted username and email address matches an entry in the user data table, then ILIAS creates a password assistance session for the user, and sends a password assistance mail to the email address.
For details about the creation of the session and the e-mail see function sendPasswordAssistanceMail().
Definition at line 279 of file class.ilPasswordAssistanceGUI.php.
References $duration, $GLOBALS, ANONYMOUS_ROLE_ID, ilAuthUtils\AUTH_LOCAL, ilAuthUtils\AUTH_SAML, getAssistanceForm(), ilLoggerFactory\getLogger(), ilObjUser\getUserIdByLogin(), ILIAS\FileDelivery\http(), ilAuthUtils\isLocalPasswordEnabledForAuthMode(), ILIAS\Repository\lng(), PROP_EMAIL, PROP_USERNAME, ILIAS\Repository\settings(), showAssistanceForm(), showMessageForm(), and SYSTEM_ROLE_ID.
Here is the call graph for this function:
|
private |
Definition at line 752 of file class.ilPasswordAssistanceGUI.php.
References $duration, ilLoggerFactory\getLogger(), ilObjUser\getUserLoginsByEmail(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\settings().
Here is the call graph for this function:
|
private |
Definition at line 191 of file class.ilPasswordAssistanceGUI.php.
References ILIAS\Repository\refinery().
Here is the call graph for this function:
|
private |
Definition at line 45 of file class.ilPasswordAssistanceGUI.php.
|
private |
Definition at line 46 of file class.ilPasswordAssistanceGUI.php.
|
private |
Definition at line 34 of file class.ilPasswordAssistanceGUI.php.
|
private |
Definition at line 42 of file class.ilPasswordAssistanceGUI.php.
|
private |
Definition at line 41 of file class.ilPasswordAssistanceGUI.php.
|
private |
Definition at line 39 of file class.ilPasswordAssistanceGUI.php.
|
private |
Definition at line 35 of file class.ilPasswordAssistanceGUI.php.
Referenced by getAssignPasswordForm().
|
private |
Definition at line 47 of file class.ilPasswordAssistanceGUI.php.
|
private |
Definition at line 36 of file class.ilPasswordAssistanceGUI.php.
|
private |
Definition at line 40 of file class.ilPasswordAssistanceGUI.php.
|
private |
Definition at line 38 of file class.ilPasswordAssistanceGUI.php.
|
private |
Definition at line 48 of file class.ilPasswordAssistanceGUI.php.
|
private |
Definition at line 37 of file class.ilPasswordAssistanceGUI.php.
Referenced by showAssistanceForm().
|
private |
Definition at line 43 of file class.ilPasswordAssistanceGUI.php.
|
private |
Definition at line 44 of file class.ilPasswordAssistanceGUI.php.
|
private |
Definition at line 27 of file class.ilPasswordAssistanceGUI.php.
|
private |
Definition at line 26 of file class.ilPasswordAssistanceGUI.php.
|
private |
Definition at line 30 of file class.ilPasswordAssistanceGUI.php.
Referenced by submitAssistanceForm().
|
private |
Definition at line 32 of file class.ilPasswordAssistanceGUI.php.
|
private |
Definition at line 31 of file class.ilPasswordAssistanceGUI.php.
|
private |
Definition at line 29 of file class.ilPasswordAssistanceGUI.php.
Referenced by submitAssistanceForm().