ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (int $a_auth_ref_id) | |
executeCommand () | |
getServer () | |
Get server settings. More... | |
roleAssignments () | |
Edit role assignments. More... | |
editRoleAssignment () | |
Edit role assignment. More... | |
updateRoleAssignment () | |
update role assignment More... | |
confirmDeleteRules () | |
Confirm delete rules. More... | |
deleteRules () | |
delete role assignment rule More... | |
addRoleAssignment () | |
add new role assignment More... | |
deleteRoleMapping () | |
chooseMapping () | |
saveMapping () | |
serverList () | |
setServerFormValues () | |
save () | |
addRoleAutoCompleteObject () | |
Add Member for autoComplete. More... | |
roleMapping () | |
Role Mapping Tab. More... | |
editRoleMapping () | |
Edit Assigments for role mapping. More... | |
createRoleMapping () | |
Check add screen input and save to db. More... | |
confirmDeleteRoleMapping () | |
confirm delete role mappings More... | |
addServerSettings () | |
editServerSettings () | |
confirmDeleteServerSettings () | |
Confirm delete rules. More... | |
deleteServerSettings () | |
userMapping () | |
Ldap User Mapping. More... | |
activateServer () | |
deactivateServer () | |
addRoleMapping () | |
Add Assigments for role mapping. More... | |
updateRoleMapping () | |
Check edit screen input and save to db. More... | |
saveSyncronizationSettings () | |
save Syncronization Settings on Role Mapping screen More... | |
Protected Member Functions | |
showRoleSelection () | |
show role selection More... | |
saveRoleSelection () | |
Save role selection. More... | |
getRoleAssignmentTable () | |
Show active role assignments. More... | |
initFormRoleAssignments (string $a_mode) | |
Init form table for new role assignments. More... | |
Private Member Functions | |
checkAccess (string $a_permission) | |
getAttributeMappingKeys () | |
Get all possible attribute keys for mapping ldap attribute to ilias user attributes. More... | |
setValuesByArray () | |
set values of form array More... | |
roleSelectionRequired () | |
checkRoleAssignmentInput (int $a_rule_id=0) | |
Check role assignment input. More... | |
loadRoleAssignmentRule (int $a_rule_id, bool $load_from_form=true) | |
Load input from form. More... | |
initForm () | |
setSubTabs () | |
Set sub tabs for ldap section. More... | |
initServer () | |
initAttributeMapping () | |
initRoleMapping () | |
prepareGlobalRoleSelection () | |
New implementation for InputForm. More... | |
getMappingFields () | |
initUserDefinedFields () | |
prepareMappingSelect () | |
userMappingToolbar () | |
Create Toolbar. More... | |
initUserMappingForm () | |
Create Property Form GUI for User Mapping. More... | |
initRoleMappingForm (string $command) | |
init propertyformgui for Assignment of LDAP Attributes to ILIAS User Profile More... | |
Private Attributes | |
int | $ref_id |
ilLDAPServer | $server |
ilLDAPAttributeMapping | $mapping |
ilPropertyFormGUI | $form_gui = null |
ilPropertyFormGUI | $form = null |
ilCtrl | $ctrl |
ilTabsGUI | $tabs_gui |
ilLanguage | $lng |
ilGlobalTemplateInterface | $tpl |
ilErrorHandling | $ilErr |
ilAccessHandler | $ilAccess |
ilRbacReview | $rbacReview |
ilRbacSystem | $rbacSystem |
ilToolbarGUI | $toolbar |
ilGlobalTemplateInterface | $main_tpl |
ilComponentRepository | $component_repository |
ilUserDefinedFields | $udf |
ilLDAPRoleAssignmentRule | $role_mapping_rule = null |
ilLDAPRoleAssignmentRule | $rule = null |
ilLDAPRoleGroupMappingSettings | $role_mapping = null |
array | $rule_ids = null |
int | $rule_id = null |
int | $role_id = null |
array | $mappings = null |
string | $mapping_template = null |
int | $ldap_server_id = null |
array | $server_ids = null |
int | $mapping_id = null |
string | $role_bind_user = null |
string | $role_bind_pass = null |
bool | $role_sync_active = false |
array | $attribute_mappings = [] |
Definition at line 24 of file class.ilLDAPSettingsGUI.php.
ilLDAPSettingsGUI::__construct | ( | int | $a_auth_ref_id | ) |
ilCtrlException |
Definition at line 68 of file class.ilLDAPSettingsGUI.php.
References $DIC, ILIAS\LTI\ToolProvider\$key, ILIAS\Repository\$refinery, ILIAS\Repository\ctrl(), getAttributeMappingKeys(), initServer(), ILIAS\Repository\lng(), ilUtil\stripSlashes(), and ILIAS\Repository\toolbar().
ilLDAPSettingsGUI::activateServer | ( | ) |
Definition at line 1580 of file class.ilLDAPSettingsGUI.php.
References checkAccess(), and serverList().
ilLDAPSettingsGUI::addRoleAssignment | ( | ) |
add new role assignment
Definition at line 400 of file class.ilLDAPSettingsGUI.php.
References checkRoleAssignmentInput(), ILIAS\Repository\ctrl(), ILIAS\Repository\form(), getRoleAssignmentTable(), initFormRoleAssignments(), ILIAS\Repository\lng(), roleAssignments(), roleSelectionRequired(), and setSubTabs().
ilLDAPSettingsGUI::addRoleAutoCompleteObject | ( | ) |
Add Member for autoComplete.
Definition at line 1268 of file class.ilLDAPSettingsGUI.php.
References ilRoleAutoCompleteInputGUI\echoAutoCompleteList().
ilLDAPSettingsGUI::addRoleMapping | ( | ) |
Add Assigments for role mapping.
Definition at line 1677 of file class.ilLDAPSettingsGUI.php.
References initRoleMappingForm(), and ilLDAPAttributeMapping\read().
ilLDAPSettingsGUI::addServerSettings | ( | ) |
Definition at line 1492 of file class.ilLDAPSettingsGUI.php.
References checkAccess(), ILIAS\Repository\ctrl(), and initForm().
|
private |
Definition at line 201 of file class.ilLDAPSettingsGUI.php.
References ILIAS\Repository\lng().
Referenced by activateServer(), addServerSettings(), confirmDeleteRules(), confirmDeleteServerSettings(), deactivateServer(), and editServerSettings().
|
private |
Check role assignment input.
Definition at line 526 of file class.ilLDAPSettingsGUI.php.
References loadRoleAssignmentRule().
Referenced by addRoleAssignment(), and updateRoleAssignment().
ilLDAPSettingsGUI::chooseMapping | ( | ) |
Definition at line 633 of file class.ilLDAPSettingsGUI.php.
References ILIAS\LTI\ToolProvider\$key, ilLDAPAttributeMappingUtils\_getMappingRulesByClass(), initAttributeMapping(), and userMapping().
ilLDAPSettingsGUI::confirmDeleteRoleMapping | ( | ) |
confirm delete role mappings
Definition at line 1463 of file class.ilLDAPSettingsGUI.php.
References $id, $txt, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilLDAPAttributeMapping\read().
ilLDAPSettingsGUI::confirmDeleteRules | ( | ) |
Confirm delete rules.
ilCtrlException |
Definition at line 351 of file class.ilLDAPSettingsGUI.php.
References ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), checkAccess(), ilLDAPRoleAssignmentRule\conditionToString(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), roleAssignments(), and setSubTabs().
ilLDAPSettingsGUI::confirmDeleteServerSettings | ( | ) |
Confirm delete rules.
Definition at line 1518 of file class.ilLDAPSettingsGUI.php.
References checkAccess(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and serverList().
ilLDAPSettingsGUI::createRoleMapping | ( | ) |
Check add screen input and save to db.
Definition at line 1432 of file class.ilLDAPSettingsGUI.php.
References ILIAS\Repository\ctrl(), initRoleMappingForm(), ILIAS\Repository\lng(), and ilLDAPAttributeMapping\save().
ilLDAPSettingsGUI::deactivateServer | ( | ) |
Definition at line 1589 of file class.ilLDAPSettingsGUI.php.
References checkAccess(), and serverList().
ilLDAPSettingsGUI::deleteRoleMapping | ( | ) |
Definition at line 615 of file class.ilLDAPSettingsGUI.php.
References initRoleMapping(), ILIAS\Repository\lng(), and roleMapping().
ilLDAPSettingsGUI::deleteRules | ( | ) |
delete role assignment rule
Definition at line 382 of file class.ilLDAPSettingsGUI.php.
References ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), ILIAS\Repository\ctrl(), ilLDAPRoleAssignmentRule\delete(), ILIAS\Repository\lng(), and roleAssignments().
ilLDAPSettingsGUI::deleteServerSettings | ( | ) |
Definition at line 1546 of file class.ilLDAPSettingsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and serverList().
ilLDAPSettingsGUI::editRoleAssignment | ( | ) |
Edit role assignment.
ilCtrlException |
Definition at line 262 of file class.ilLDAPSettingsGUI.php.
References ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), ILIAS\Repository\ctrl(), ILIAS\Repository\form(), initFormRoleAssignments(), ILIAS\Repository\lng(), roleAssignments(), setSubTabs(), and setValuesByArray().
ilLDAPSettingsGUI::editRoleMapping | ( | ) |
Edit Assigments for role mapping.
Definition at line 1395 of file class.ilLDAPSettingsGUI.php.
References initRoleMappingForm(), ILIAS\Repository\lng(), and ilLDAPAttributeMapping\read().
ilLDAPSettingsGUI::editServerSettings | ( | ) |
Definition at line 1502 of file class.ilLDAPSettingsGUI.php.
References checkAccess(), initForm(), setServerFormValues(), and setSubTabs().
ilLDAPSettingsGUI::executeCommand | ( | ) |
ilCtrlException |
Definition at line 181 of file class.ilLDAPSettingsGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
|
private |
Get all possible attribute keys for mapping ldap attribute to ilias user attributes.
Definition at line 212 of file class.ilLDAPSettingsGUI.php.
References ILIAS\LTI\ToolProvider\$key, $keys, ilUserDefinedFields\_getInstance(), and getMappingFields().
Referenced by __construct().
|
private |
Definition at line 1093 of file class.ilLDAPSettingsGUI.php.
References ILIAS\Repository\lng().
Referenced by getAttributeMappingKeys(), initUserMappingForm(), and saveMapping().
|
protected |
Show active role assignments.
Definition at line 536 of file class.ilLDAPSettingsGUI.php.
References ilLDAPRoleAssignmentRule\_getRules(), and ILIAS\Repository\lng().
Referenced by addRoleAssignment().
ilLDAPSettingsGUI::getServer | ( | ) |
Get server settings.
Definition at line 228 of file class.ilLDAPSettingsGUI.php.
References $server.
Referenced by initAttributeMapping(), initRoleMapping(), loadRoleAssignmentRule(), and roleSelectionRequired().
|
private |
Definition at line 1064 of file class.ilLDAPSettingsGUI.php.
References ilLDAPAttributeMapping\_getInstanceByServerId(), and getServer().
Referenced by chooseMapping(), save(), saveMapping(), and userMapping().
|
private |
Definition at line 736 of file class.ilLDAPSettingsGUI.php.
References $version, ilAdministrationSettingsFormHandler\addFieldsToForm(), ilSubEnabledFormPropertyGUI\addSubItem(), ILIAS\Repository\ctrl(), ilAdministrationSettingsFormHandler\FORM_LDAP, ilAdministrationSettingsFormHandler\getSettingsGUIInstance(), ilLDAPServer\LDAP_BIND_ANONYMOUS, ilLDAPServer\LDAP_BIND_USER, ilLDAPServer\LDAP_SCOPE_ONE, ilLDAPServer\LDAP_SCOPE_SUB, ILIAS\Repository\lng(), prepareGlobalRoleSelection(), ilFormPropertyGUI\setInfo(), ilCheckboxInputGUI\setOptionTitle(), ilPasswordInputGUI\setSkipSyntaxCheck(), and ilCheckboxInputGUI\setValue().
Referenced by addServerSettings(), editServerSettings(), and save().
|
protected |
Init form table for new role assignments.
string | mode edit | create |
Definition at line 1141 of file class.ilLDAPSettingsGUI.php.
References $id, $name, $update, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ILIAS\Repository\lng(), prepareGlobalRoleSelection(), ilRadioOption\setInfo(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), ilLDAPRoleAssignmentRule\TYPE_ATTRIBUTE, and ilLDAPRoleAssignmentRule\TYPE_GROUP.
Referenced by addRoleAssignment(), editRoleAssignment(), roleAssignments(), and updateRoleAssignment().
|
private |
Definition at line 1069 of file class.ilLDAPSettingsGUI.php.
References ilLDAPRoleGroupMappingSettings\_getInstanceByServerId(), and getServer().
Referenced by deleteRoleMapping().
|
private |
init propertyformgui for Assignment of LDAP Attributes to ILIAS User Profile
string | $command | command methode |
Definition at line 1605 of file class.ilLDAPSettingsGUI.php.
References $url, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilFormPropertyGUI\setPostVar(), and setSubTabs().
Referenced by addRoleMapping(), createRoleMapping(), editRoleMapping(), and updateRoleMapping().
|
private |
Definition at line 1053 of file class.ilLDAPSettingsGUI.php.
References $ldap_server_id.
Referenced by __construct().
|
private |
Definition at line 1115 of file class.ilLDAPSettingsGUI.php.
References ilUserDefinedFields\_getInstance().
Referenced by initUserMappingForm(), and saveMapping().
|
private |
Create Property Form GUI for User Mapping.
Definition at line 1297 of file class.ilLDAPSettingsGUI.php.
References $lang, ILIAS\Repository\ctrl(), getMappingFields(), initUserDefinedFields(), and ILIAS\Repository\lng().
Referenced by userMapping().
|
private |
Load input from form.
Definition at line 553 of file class.ilLDAPSettingsGUI.php.
References $res, ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), ILIAS\Repository\form(), ilSession\get(), getServer(), ilQueryParser\QP_COMBINATION_AND, ilQueryParser\setMinWordLength(), ilUtil\stripSlashes(), and ilLDAPRoleAssignmentRule\TYPE_ATTRIBUTE.
Referenced by checkRoleAssignmentInput(), and saveRoleSelection().
|
private |
New implementation for InputForm.
Definition at line 1077 of file class.ilLDAPSettingsGUI.php.
References $role_id, ilObject\_lookupTitle(), ilUtil\_sortIds(), and ILIAS\Repository\lng().
Referenced by initForm(), and initFormRoleAssignments().
|
private |
Definition at line 1120 of file class.ilLDAPSettingsGUI.php.
References ilLegacyFormElementsUtil\formSelect(), and ILIAS\Repository\lng().
ilLDAPSettingsGUI::roleAssignments | ( | ) |
Edit role assignments.
Definition at line 236 of file class.ilLDAPSettingsGUI.php.
References ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), ilLDAPRoleAssignmentRule\_getRules(), ILIAS\Repository\form(), initFormRoleAssignments(), ILIAS\Repository\lng(), and setSubTabs().
Referenced by addRoleAssignment(), confirmDeleteRules(), deleteRules(), editRoleAssignment(), saveRoleSelection(), and updateRoleAssignment().
ilLDAPSettingsGUI::roleMapping | ( | ) |
Role Mapping Tab.
Definition at line 1341 of file class.ilLDAPSettingsGUI.php.
References ilLDAPRoleGroupMappingSettings\_getInstanceByServerId(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setPostVar(), setSubTabs(), ilTable2GUI\setTitle(), and ILIAS\Repository\toolbar().
Referenced by deleteRoleMapping().
|
private |
Definition at line 436 of file class.ilLDAPSettingsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\form(), getServer(), and ilSession\set().
Referenced by addRoleAssignment(), and updateRoleAssignment().
ilLDAPSettingsGUI::save | ( | ) |
Definition at line 941 of file class.ilLDAPSettingsGUI.php.
References ILIAS\Repository\ctrl(), initAttributeMapping(), initForm(), ILIAS\Repository\lng(), and setSubTabs().
ilLDAPSettingsGUI::saveMapping | ( | ) |
Definition at line 649 of file class.ilLDAPSettingsGUI.php.
References ILIAS\LTI\ToolProvider\$key, getMappingFields(), initAttributeMapping(), initUserDefinedFields(), ILIAS\Repository\lng(), and userMapping().
|
protected |
Save role selection.
Definition at line 494 of file class.ilLDAPSettingsGUI.php.
References ILIAS\Repository\lng(), loadRoleAssignmentRule(), roleAssignments(), and showRoleSelection().
ilLDAPSettingsGUI::saveSyncronizationSettings | ( | ) |
save Syncronization Settings on Role Mapping screen
Definition at line 1747 of file class.ilLDAPSettingsGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
ilLDAPSettingsGUI::serverList | ( | ) |
Definition at line 677 of file class.ilLDAPSettingsGUI.php.
References ilLDAPServer\checkLDAPLib(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
Referenced by activateServer(), confirmDeleteServerSettings(), deactivateServer(), and deleteServerSettings().
ilLDAPSettingsGUI::setServerFormValues | ( | ) |
Definition at line 699 of file class.ilLDAPSettingsGUI.php.
References ilLDAPAttributeMapping\_lookupGlobalRole().
Referenced by editServerSettings().
|
private |
Set sub tabs for ldap section.
Definition at line 1012 of file class.ilLDAPSettingsGUI.php.
References ilLDAPServer\_getServerList(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by addRoleAssignment(), confirmDeleteRules(), editRoleAssignment(), editServerSettings(), initRoleMappingForm(), roleAssignments(), roleMapping(), save(), showRoleSelection(), and userMapping().
|
private |
set values of form array
Definition at line 285 of file class.ilLDAPSettingsGUI.php.
References $role_id, ilObject\_lookupTitle(), ILIAS\Repository\form(), and ILIAS\Repository\int().
Referenced by editRoleAssignment().
|
protected |
show role selection
Definition at line 464 of file class.ilLDAPSettingsGUI.php.
References $res, ILIAS\Repository\ctrl(), ilSession\get(), ILIAS\Repository\lng(), ilQueryParser\QP_COMBINATION_AND, and setSubTabs().
Referenced by saveRoleSelection().
ilLDAPSettingsGUI::updateRoleAssignment | ( | ) |
update role assignment
Definition at line 311 of file class.ilLDAPSettingsGUI.php.
References checkRoleAssignmentInput(), ILIAS\Repository\ctrl(), ILIAS\Repository\form(), initFormRoleAssignments(), ILIAS\Repository\lng(), roleAssignments(), and roleSelectionRequired().
ilLDAPSettingsGUI::updateRoleMapping | ( | ) |
Check edit screen input and save to db.
Definition at line 1716 of file class.ilLDAPSettingsGUI.php.
References ILIAS\Repository\ctrl(), initRoleMappingForm(), and ILIAS\Repository\lng().
ilLDAPSettingsGUI::userMapping | ( | ) |
Ldap User Mapping.
Definition at line 1565 of file class.ilLDAPSettingsGUI.php.
References initAttributeMapping(), initUserMappingForm(), setSubTabs(), and userMappingToolbar().
Referenced by chooseMapping(), and saveMapping().
|
private |
Create Toolbar.
Definition at line 1276 of file class.ilLDAPSettingsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
Referenced by userMapping().
|
private |
Definition at line 63 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 42 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 32 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 30 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 29 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 37 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 36 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 56 of file class.ilLDAPSettingsGUI.php.
Referenced by initServer().
|
private |
Definition at line 34 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 41 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 28 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 59 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 55 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 54 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 38 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 39 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 26 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 61 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 60 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 52 of file class.ilLDAPSettingsGUI.php.
Referenced by prepareGlobalRoleSelection(), and setValuesByArray().
|
private |
Definition at line 46 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 44 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 62 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 45 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 51 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 50 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 27 of file class.ilLDAPSettingsGUI.php.
Referenced by getServer().
|
private |
Definition at line 58 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 33 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 40 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 35 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 43 of file class.ilLDAPSettingsGUI.php.