| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
Class ilSamlSettingsGUI. More...
 Inheritance diagram for ilSamlSettingsGUI:
 Collaboration diagram for ilSamlSettingsGUI: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 () | |
Data Fields | |
| const | DEFAULT_CMD = 'listIdps' | 
Private Member Functions | |
| ensureAccess (string $operation) | |
| ensureWriteAccess () | |
| ensureReadAccess () | |
| getIdpIdOrZero () | |
| initIdp () | |
| listIdps () | |
| handleTableActions () | |
| deactivateIdp () | |
| activateIdp () | |
| setSubTabs (int $a_view_mode) | |
| initUserAttributeMapping () | |
| getUserAttributeMappingForm () | |
| addAttributeRuleFieldToForm (ilPropertyFormGUI $form, string $field_label, string $field_name) | |
| saveUserAttributeMapping () | |
| showUserAttributeMappingForm (ilPropertyFormGUI $form=null) | |
| getSettingsForm () | |
| prepareRoleSelection () | |
| saveSettings () | |
| showSettings (ilPropertyFormGUI $form=null) | |
| getIdpSettingsForm () | |
| showIdpSettings (ilPropertyFormGUI $form=null) | |
| saveIdpSettings () | |
| getIdpForm () | |
| saveNewIdp () | |
| showNewIdpForm (ilPropertyFormGUI $form=null) | |
| addMetadataElement (ilPropertyFormGUI $form) | |
| populateWithMetadata (ilSamlIdp $idp, array &$data) | |
| storeMetadata (ilSamlIdp $idp, string $metadata) | |
| confirmDeleteIdp () | |
| deleteIdp () | |
Class ilSamlSettingsGUI.
Definition at line 30 of file class.ilSamlSettingsGUI.php.
| ilSamlSettingsGUI::__construct | ( | private readonly int | $ref_id | ) | 
Definition at line 122 of file class.ilSamlSettingsGUI.php.
References $DIC, ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ILIAS\Repository\help(), ILIAS\Repository\lng(), ILIAS\Repository\rbac(), ILIAS\Repository\refinery(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 347 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\ctrl(), ensureWriteAccess(), and ILIAS\Repository\lng().
Referenced by handleTableActions().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 439 of file class.ilSamlSettingsGUI.php.
References ilPropertyFormGUI\addItem(), and ILIAS\Repository\lng().
Referenced by getUserAttributeMappingForm().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 723 of file class.ilSamlSettingsGUI.php.
References ilPropertyFormGUI\addItem(), ILIAS\Repository\lng(), and ilFormPropertyGUI\setInfo().
Referenced by getIdpForm(), and getIdpSettingsForm().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 758 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\ctrl(), ensureWriteAccess(), and ILIAS\Repository\lng().
Referenced by handleTableActions().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 336 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\ctrl(), ensureWriteAccess(), and ILIAS\Repository\lng().
Referenced by handleTableActions().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 772 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\ctrl(), ensureWriteAccess(), and ILIAS\Repository\lng().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 143 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\rbac().
Referenced by ensureReadAccess(), and ensureWriteAccess().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 167 of file class.ilSamlSettingsGUI.php.
References ensureAccess().
Referenced by executeCommand().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 162 of file class.ilSamlSettingsGUI.php.
References ensureAccess().
Referenced by activateIdp(), confirmDeleteIdp(), deactivateIdp(), deleteIdp(), saveIdpSettings(), saveNewIdp(), saveSettings(), saveUserAttributeMapping(), and showNewIdpForm().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSamlSettingsGUI::executeCommand | ( | ) | 
Definition at line 228 of file class.ilSamlSettingsGUI.php.
References Vendor\Package\$e, ILIAS\Repository\ctrl(), ensureReadAccess(), getIdpIdOrZero(), ILIAS\Repository\help(), initIdp(), initUserAttributeMapping(), ILIAS\Repository\lng(), and setSubTabs().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 670 of file class.ilSamlSettingsGUI.php.
References addMetadataElement(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by saveNewIdp(), and showNewIdpForm().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 177 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\refinery().
Referenced by executeCommand(), and initIdp().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 582 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\access(), addMetadataElement(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), prepareRoleSelection(), and ilSelectInputGUI\setOptions().
Referenced by saveIdpSettings(), and showIdpSettings().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSamlSettingsGUI::getRefId | ( | ) | 
Definition at line 172 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 157 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 509 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\access(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by saveSettings(), and showSettings().
 Here is the call graph for this function:
 Here is the caller graph for this function:| 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 150 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 409 of file class.ilSamlSettingsGUI.php.
References $id, ilUserDefinedFields\_getInstance(), ILIAS\Repository\access(), addAttributeRuleFieldToForm(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by saveUserAttributeMapping(), and showUserAttributeMappingForm().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 318 of file class.ilSamlSettingsGUI.php.
References activateIdp(), confirmDeleteIdp(), ILIAS\Repository\ctrl(), deactivateIdp(), ILIAS\Repository\refinery(), and showIdpSettings().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 217 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\ctrl(), getIdpIdOrZero(), ilSamlIdp\getInstanceByIdpId(), and ILIAS\Repository\lng().
Referenced by executeCommand().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 404 of file class.ilSamlSettingsGUI.php.
Referenced by executeCommand().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 274 of file class.ilSamlSettingsGUI.php.
References CLIENT_ID, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\rbac(), and ILIAS\Repository\toolbar().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 745 of file class.ilSamlSettingsGUI.php.
References ilSamlIdp\getIdpId().
Referenced by showIdpSettings().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 534 of file class.ilSamlSettingsGUI.php.
References ilObject\_lookupTitle(), ilUtil\_sortIds(), ILIAS\Repository\lng(), and ILIAS\Repository\rbac().
Referenced by getIdpSettingsForm().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 654 of file class.ilSamlSettingsGUI.php.
References ensureWriteAccess(), getIdpSettingsForm(), ILIAS\Repository\lng(), showIdpSettings(), and storeMetadata().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 684 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\ctrl(), ensureWriteAccess(), getIdpForm(), ilSamlIdp\getIdpId(), ILIAS\Repository\lng(), ilSamlIdp\persist(), showNewIdpForm(), and storeMetadata().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 555 of file class.ilSamlSettingsGUI.php.
References ensureWriteAccess(), ilSamlSettings\getInstance(), getSettingsForm(), ILIAS\Repository\lng(), and showSettings().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 453 of file class.ilSamlSettingsGUI.php.
References $id, ilUserDefinedFields\_getInstance(), ensureWriteAccess(), getUserAttributeMappingForm(), ILIAS\Repository\lng(), and showUserAttributeMappingForm().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 358 of file class.ilSamlSettingsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by executeCommand().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 636 of file class.ilSamlSettingsGUI.php.
References $data, getIdpSettingsForm(), ILIAS\Repository\help(), populateWithMetadata(), and ILIAS\Repository\tabs().
Referenced by handleTableActions(), and saveIdpSettings().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 708 of file class.ilSamlSettingsGUI.php.
References ensureWriteAccess(), getIdpForm(), and ILIAS\Repository\help().
Referenced by saveNewIdp().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 570 of file class.ilSamlSettingsGUI.php.
References ilSamlSettings\getInstance(), and getSettingsForm().
Referenced by saveSettings().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 492 of file class.ilSamlSettingsGUI.php.
References $data, getUserAttributeMappingForm(), and ILIAS\Repository\tabs().
Referenced by saveUserAttributeMapping().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 752 of file class.ilSamlSettingsGUI.php.
References ilSamlIdp\getIdpId().
Referenced by saveIdpSettings(), and saveNewIdp().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 108 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 105 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 110 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 115 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 113 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 117 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 106 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 116 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 109 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 114 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 118 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 111 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 112 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 107 of file class.ilSamlSettingsGUI.php.
Definition at line 119 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 120 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 54 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 50 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 51 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 55 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 52 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 53 of file class.ilSamlSettingsGUI.php.
| const ilSamlSettingsGUI::DEFAULT_CMD = 'listIdps' | 
Definition at line 35 of file class.ilSamlSettingsGUI.php.
Referenced by ilObjAuthSettingsGUI\getTabs().
      
  | 
  private | 
Definition at line 64 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 76 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 86 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 47 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 45 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 42 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 43 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 59 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 37 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 57 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 39 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 40 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 32 of file class.ilSamlSettingsGUI.php.
      
  | 
  private | 
Definition at line 33 of file class.ilSamlSettingsGUI.php.