ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
__construct (private readonly int $ref_id) | |
getUnsafeGetCommands () | |
This method must return a list of unsafe GET commands. More... | |
getSafePostCommands () | |
This method must return a list of safe POST commands. More... | |
getRefId () | |
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... | |
Data Fields | |
const string | DEFAULT_CMD = self::CMD_LIST_IDPS |
![]() | |
const string | CMD_LIST_IDPS = 'listIdps' |
const string | CMD_TABLE_ACTIONS = 'handleTableActions' |
const string | CMD_SHOW_NEW_IDP_FORM = 'showNewIdpForm' |
const string | CMD_SAVE_NEW_IDP = 'saveNewIdp' |
const string | CMD_DELETE_IDP = 'deleteIdp' |
const string | CMD_SAVE_SETTINGS = 'saveSettings' |
const string | CMD_SHOW_SETTINGS = 'showSettings' |
const string | CMD_SHOW_IDP_SETTINGS = 'showIdpSettings' |
const string | CMD_SAVE_IDP_SETTINGS = 'saveIdpSettings' |
const string | CMD_SAVE_USER_ATTRIBUTE_MAPPING = 'saveUserAttributeMapping' |
const string | CMD_SHOW_USER_ATTRIBUTE_MAPPING_FORM = 'showUserAttributeMappingForm' |
const string | TABLE_ACTION_CONFIRM_DELETE_IDP = 'confirmDeleteIdp' |
const string | TABLE_ACTION_DEACTIVATE_IDP = 'deactivateIdp' |
const string | TABLE_ACTION_ACTIVATE_IDP = 'activateIdp' |
const string | TABLE_ACTION_SHOW_IDP_SETTINGS = 'showIdpSettings' |
const array | GLOBAL_COMMANDS |
const array | GLOBAL_ENTITY_COMMANDS |
const array | GLOBAL_ENTITY_TABLE_ACTIONS |
Private Attributes | |
const int | VIEW_MODE_GLOBAL = 1 |
const int | VIEW_MODE_SINGLE = 2 |
const string | PERMISSION_WRITE = 'write' |
const string | REQUEST_PARAM_SAML_IDP_ID = 'saml_idp_id' |
const string | REQUEST_PARAM_SAML_IDP_IDS = 'saml_idp_ids' |
const string | MESSAGE_TYPE_FAILURE = 'failure' |
const string | MESSAGE_TYPE_SUCCESS = 'success' |
const string | LNG_SAVED_SUCCESSFULLY = 'saved_successfully' |
const string | LNG_AUTH_SAML_USER_MAPPING = 'auth_saml_user_mapping' |
const string | LNG_LOGIN_FORM = 'login_form' |
const string | LNG_CANCEL = 'cancel' |
const string | LNG_SAVE = 'save' |
const string | PROP_UPDATE_SUFFIX = '_update' |
const string | METADATA_STORAGE_KEY = 'metadata' |
const string | METADATA_ENTITY_ID = 'entity_id' |
const array | IGNORED_USER_FIELDS |
readonly ilCtrlInterface | $ctrl |
readonly ilLanguage | $lng |
readonly ilGlobalTemplateInterface | $tpl |
readonly RBACServices | $rbac |
readonly ilErrorHandling | $error_handler |
readonly ilTabsGUI | $tabs |
readonly ilToolbarGUI | $toolbar |
readonly GlobalHttpState | $http_state |
readonly Refinery | $refinery |
readonly ilHelpGUI | $help |
ilExternalAuthUserAttributeMapping | $mapping = null |
ilSamlIdp | $idp = null |
ilSamlAuth | $saml_auth = null |
readonly ILIAS UI Factory | $ui_factory |
readonly ILIAS UI Renderer | $ui_renderer |
readonly Profile | $profile |
Definition at line 29 of file class.ilSamlSettingsGUI.php.
ilSamlSettingsGUI::__construct | ( | private readonly int | $ref_id | ) |
Definition at line 92 of file class.ilSamlSettingsGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ILIAS\Repository\help(), ILIAS\Repository\lng(), ILIAS\Repository\profile(), ILIAS\Repository\rbac(), ILIAS\Repository\refinery(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
|
private |
Definition at line 341 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\ctrl(), ensureWriteAccess(), and ILIAS\Repository\lng().
Referenced by handleTableActionsCommand().
|
private |
Definition at line 435 of file class.ilSamlSettingsGUI.php.
Referenced by getUserAttributeMappingForm().
|
private |
Definition at line 823 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by handleTableActionsCommand().
|
private |
Definition at line 330 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\ctrl(), ensureWriteAccess(), and ILIAS\Repository\lng().
Referenced by handleTableActionsCommand().
|
private |
Definition at line 841 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
private |
Definition at line 113 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\rbac().
Referenced by ensureReadAccess(), and ensureWriteAccess().
|
private |
Definition at line 137 of file class.ilSamlSettingsGUI.php.
References ensureAccess().
Referenced by executeCommand().
|
private |
Definition at line 132 of file class.ilSamlSettingsGUI.php.
References ensureAccess().
Referenced by activateIdp(), and deactivateIdp().
ilSamlSettingsGUI::executeCommand | ( | ) |
Definition at line 196 of file class.ilSamlSettingsGUI.php.
References Vendor\Package\$e, ILIAS\Repository\ctrl(), DEFAULT_CMD, ensureReadAccess(), getIdpIdOrZero(), ILIAS\Repository\help(), initIdp(), initUserAttributeMapping(), ILIAS\Repository\lng(), setSubTabs(), and shouldRenderGlobalCommandSubTabs().
|
private |
Definition at line 729 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\ctrl(), and ilUtil\stripSlashes().
|
private |
Definition at line 147 of file class.ilSamlSettingsGUI.php.
References getTableAction(), and ILIAS\Repository\refinery().
Referenced by executeCommand(), and initIdp().
ilSamlSettingsGUI::getRefId | ( | ) |
Definition at line 142 of file class.ilSamlSettingsGUI.php.
References $ref_id.
ilSamlSettingsGUI::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 127 of file class.ilSamlSettingsGUI.php.
|
private |
array<string,mixed> | $values |
Definition at line 504 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\rbac().
|
private |
Definition at line 308 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\refinery().
Referenced by getIdpIdOrZero(), handleTableActionsCommand(), setSubTabs(), and shouldRenderGlobalCommandSubTabs().
ilSamlSettingsGUI::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 120 of file class.ilSamlSettingsGUI.php.
References ilSamlCommands\CMD_TABLE_ACTIONS.
|
private |
Definition at line 405 of file class.ilSamlSettingsGUI.php.
References $id, addAttributeRuleFieldToForm(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\profile(), and ILIAS\Repository\rbac().
|
private |
Definition at line 319 of file class.ilSamlSettingsGUI.php.
References activateIdp(), confirmDeleteIdp(), ILIAS\Repository\ctrl(), deactivateIdp(), and getTableAction().
|
private |
Definition at line 185 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\ctrl(), getIdpIdOrZero(), ilSamlIdp\getInstanceByIdpId(), and ILIAS\Repository\lng().
Referenced by executeCommand().
|
private |
Definition at line 400 of file class.ilSamlSettingsGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 264 of file class.ilSamlSettingsGUI.php.
References $info, CLIENT_ID, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\rbac(), and ILIAS\Repository\toolbar().
|
private |
Definition at line 582 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\lng().
|
private |
Definition at line 810 of file class.ilSamlSettingsGUI.php.
References $data, and ilSamlIdp\getIdpId().
|
private |
Definition at line 532 of file class.ilSamlSettingsGUI.php.
References ilObject\_lookupTitle(), ilUtil\_sortIds(), ILIAS\Repository\lng(), and ILIAS\Repository\rbac().
|
private |
Definition at line 708 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
private |
Definition at line 768 of file class.ilSamlSettingsGUI.php.
References ilSamlIdp\bindForm(), ILIAS\Repository\ctrl(), ilSamlIdp\getIdpId(), ILIAS\Repository\lng(), and ilSamlIdp\persist().
|
private |
Definition at line 553 of file class.ilSamlSettingsGUI.php.
References $data, ilSamlSettings\getInstance(), and ILIAS\Repository\lng().
|
private |
Definition at line 449 of file class.ilSamlSettingsGUI.php.
References $id, ilPropertyFormGUI\checkInput(), ilPropertyFormGUI\getInput(), ILIAS\Repository\lng(), ILIAS\Repository\profile(), and ilPropertyFormGUI\setValuesByPost().
|
private |
Definition at line 352 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\ctrl(), getTableAction(), ILIAS\Repository\lng(), ILIAS\Repository\tabs(), VIEW_MODE_GLOBAL, and VIEW_MODE_SINGLE.
Referenced by executeCommand().
|
private |
Definition at line 246 of file class.ilSamlSettingsGUI.php.
References getTableAction().
Referenced by executeCommand().
|
private |
Definition at line 686 of file class.ilSamlSettingsGUI.php.
References $data, ILIAS\Repository\help(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
|
private |
Definition at line 791 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\help(), and ILIAS\Repository\lng().
|
private |
Definition at line 567 of file class.ilSamlSettingsGUI.php.
References ilSamlSettings\getInstance(), and ILIAS\Repository\lng().
|
private |
Definition at line 484 of file class.ilSamlSettingsGUI.php.
References $data, ilPropertyFormGUI\getHTML(), ilPropertyFormGUI\setValuesByArray(), and ILIAS\Repository\tabs().
|
private |
Definition at line 817 of file class.ilSamlSettingsGUI.php.
References ilSamlIdp\getIdpId().
|
private |
Definition at line 75 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 79 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 84 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 82 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 86 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 76 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 85 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 90 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 78 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 83 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 87 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 80 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 81 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 77 of file class.ilSamlSettingsGUI.php.
Definition at line 88 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 89 of file class.ilSamlSettingsGUI.php.
const string ilSamlSettingsGUI::DEFAULT_CMD = self::CMD_LIST_IDPS |
Definition at line 34 of file class.ilSamlSettingsGUI.php.
Referenced by executeCommand(), and ilObjAuthSettingsGUI\getTabs().
|
private |
Definition at line 56 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 45 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 47 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 46 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 48 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 44 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 41 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 42 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 53 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 52 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 36 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 50 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 38 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 39 of file class.ilSamlSettingsGUI.php.
|
private |
Definition at line 31 of file class.ilSamlSettingsGUI.php.
Referenced by setSubTabs().
|
private |
Definition at line 32 of file class.ilSamlSettingsGUI.php.
Referenced by setSubTabs().