ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
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 () | |
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... | |
handleServerTableActions () | |
serverList () | |
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... | |
Definition at line 27 of file class.ilLDAPSettingsGUI.php.
ilLDAPSettingsGUI::__construct | ( | int | $a_auth_ref_id | ) |
ilCtrlException |
Definition at line 76 of file class.ilLDAPSettingsGUI.php.
References $DIC, ilLDAPRoleGroupMappingSettings\_getInstanceByServerId(), ilLDAPRoleAssignmentRule\_getRules(), ILIAS\Repository\ctrl(), getAttributeMappingKeys(), ilLDAPRoleAssignmentRule\getRuleId(), ILIAS\FileDelivery\http(), initServer(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\UI\examples\Progress\Bar\server(), ilUtil\stripSlashes(), ILIAS\Repository\toolbar(), and ILIAS\Refinery\transform().
ilLDAPSettingsGUI::activateServer | ( | ) |
Definition at line 1688 of file class.ilLDAPSettingsGUI.php.
References checkAccess(), ILIAS\UI\examples\Progress\Bar\server(), and serverList().
Referenced by handleServerTableActions().
ilLDAPSettingsGUI::addRoleAssignment | ( | ) |
add new role assignment
Definition at line 476 of file class.ilLDAPSettingsGUI.php.
References checkRoleAssignmentInput(), ILIAS\Repository\ctrl(), ILIAS\Repository\form(), initFormRoleAssignments(), ILIAS\Repository\lng(), roleAssignments(), roleSelectionRequired(), and setSubTabs().
ilLDAPSettingsGUI::addRoleAutoCompleteObject | ( | ) |
Add Member for autoComplete.
Definition at line 1375 of file class.ilLDAPSettingsGUI.php.
References ilRoleAutoCompleteInputGUI\echoAutoCompleteList().
ilLDAPSettingsGUI::addRoleMapping | ( | ) |
Add Assigments for role mapping.
Definition at line 1785 of file class.ilLDAPSettingsGUI.php.
References initRoleMappingForm(), ilLDAPAttributeMapping\read(), and ILIAS\UI\examples\Progress\Bar\server().
ilLDAPSettingsGUI::addServerSettings | ( | ) |
Definition at line 1600 of file class.ilLDAPSettingsGUI.php.
References checkAccess(), ILIAS\Repository\ctrl(), and initForm().
|
private |
Definition at line 282 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 602 of file class.ilLDAPSettingsGUI.php.
References loadRoleAssignmentRule().
Referenced by addRoleAssignment(), and updateRoleAssignment().
ilLDAPSettingsGUI::chooseMapping | ( | ) |
Definition at line 711 of file class.ilLDAPSettingsGUI.php.
References ilLDAPAttributeMappingUtils\_getMappingRulesByClass(), initAttributeMapping(), and userMapping().
ilLDAPSettingsGUI::confirmDeleteRoleMapping | ( | ) |
confirm delete role mappings
Definition at line 1571 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 427 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 1626 of file class.ilLDAPSettingsGUI.php.
References checkAccess(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and serverList().
Referenced by handleServerTableActions().
ilLDAPSettingsGUI::createRoleMapping | ( | ) |
Check add screen input and save to db.
Definition at line 1540 of file class.ilLDAPSettingsGUI.php.
References ILIAS\Repository\ctrl(), initRoleMappingForm(), ILIAS\Repository\lng(), ilLDAPAttributeMapping\save(), and ILIAS\UI\examples\Progress\Bar\server().
ilLDAPSettingsGUI::deactivateServer | ( | ) |
Definition at line 1697 of file class.ilLDAPSettingsGUI.php.
References checkAccess(), ILIAS\UI\examples\Progress\Bar\server(), and serverList().
Referenced by handleServerTableActions().
ilLDAPSettingsGUI::deleteRoleMapping | ( | ) |
Definition at line 693 of file class.ilLDAPSettingsGUI.php.
References initRoleMapping(), ILIAS\Repository\lng(), and roleMapping().
ilLDAPSettingsGUI::deleteRules | ( | ) |
delete role assignment rule
Definition at line 458 of file class.ilLDAPSettingsGUI.php.
References ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), ILIAS\Repository\ctrl(), ilLDAPRoleAssignmentRule\delete(), ILIAS\Repository\lng(), and roleAssignments().
ilLDAPSettingsGUI::deleteServerSettings | ( | ) |
Definition at line 1654 of file class.ilLDAPSettingsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and serverList().
ilLDAPSettingsGUI::editRoleAssignment | ( | ) |
Edit role assignment.
ilCtrlException |
Definition at line 338 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 1503 of file class.ilLDAPSettingsGUI.php.
References initRoleMappingForm(), ILIAS\Repository\lng(), and ilLDAPAttributeMapping\read().
ilLDAPSettingsGUI::editServerSettings | ( | ) |
Definition at line 1610 of file class.ilLDAPSettingsGUI.php.
References checkAccess(), initForm(), setServerFormValues(), and setSubTabs().
Referenced by handleServerTableActions().
ilLDAPSettingsGUI::executeCommand | ( | ) |
ilCtrlException |
Definition at line 250 of file class.ilLDAPSettingsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
|
private |
Get all possible attribute keys for mapping ldap attribute to ilias user attributes.
Definition at line 293 of file class.ilLDAPSettingsGUI.php.
References ilUserDefinedFields\_getInstance(), and getMappingFields().
Referenced by __construct().
|
private |
Definition at line 1200 of file class.ilLDAPSettingsGUI.php.
References ILIAS\Repository\lng().
Referenced by getAttributeMappingKeys(), initUserMappingForm(), and saveMapping().
|
protected |
Show active role assignments.
Definition at line 612 of file class.ilLDAPSettingsGUI.php.
References $lng, $ui_factory, ilLDAPRoleAssignmentRule\_getRules(), LDAPRoleAssignmentTable\getComponent(), ILIAS\FileDelivery\http(), null, and ILIAS\UI\examples\Progress\Bar\server().
ilLDAPSettingsGUI::getServer | ( | ) |
Get server settings.
Definition at line 309 of file class.ilLDAPSettingsGUI.php.
References $server.
Referenced by initAttributeMapping(), initRoleMapping(), loadRoleAssignmentRule(), and roleSelectionRequired().
|
private |
Definition at line 755 of file class.ilLDAPSettingsGUI.php.
References activateServer(), confirmDeleteServerSettings(), ILIAS\Repository\ctrl(), deactivateServer(), editServerSettings(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
|
private |
Definition at line 1171 of file class.ilLDAPSettingsGUI.php.
References ilLDAPAttributeMapping\_getInstanceByServerId(), and getServer().
Referenced by chooseMapping(), save(), saveMapping(), and userMapping().
|
private |
Definition at line 843 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(), ilSelectInputGUI\setOptions(), and ilPasswordInputGUI\setSkipSyntaxCheck().
Referenced by addServerSettings(), editServerSettings(), and save().
|
protected |
Init form table for new role assignments.
string | mode edit | create |
Definition at line 1248 of file class.ilLDAPSettingsGUI.php.
References $id, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ILIAS\Repository\lng(), prepareGlobalRoleSelection(), ilRadioOption\setInfo(), ilFormPropertyGUI\setRequired(), ilLDAPRoleAssignmentRule\TYPE_ATTRIBUTE, and ilLDAPRoleAssignmentRule\TYPE_GROUP.
Referenced by addRoleAssignment(), editRoleAssignment(), roleAssignments(), and updateRoleAssignment().
|
private |
Definition at line 1176 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 1713 of file class.ilLDAPSettingsGUI.php.
References $info, $url, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and setSubTabs().
Referenced by addRoleMapping(), createRoleMapping(), editRoleMapping(), and updateRoleMapping().
|
private |
Definition at line 1160 of file class.ilLDAPSettingsGUI.php.
References $ldap_server_id, and ILIAS\UI\examples\Progress\Bar\server().
Referenced by __construct().
|
private |
Definition at line 1222 of file class.ilLDAPSettingsGUI.php.
References ilUserDefinedFields\_getInstance().
Referenced by initUserMappingForm(), and saveMapping().
|
private |
Create Property Form GUI for User Mapping.
Definition at line 1404 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 631 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 1184 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 1227 of file class.ilLDAPSettingsGUI.php.
References ilLegacyFormElementsUtil\formSelect(), and ILIAS\Repository\lng().
ilLDAPSettingsGUI::roleAssignments | ( | ) |
Edit role assignments.
Definition at line 317 of file class.ilLDAPSettingsGUI.php.
References ilLDAPRoleAssignmentRule\_getInstanceByRuleId(), ilLDAPRoleAssignmentRule\_getRules(), ILIAS\Repository\form(), initFormRoleAssignments(), ILIAS\UI\examples\Progress\Bar\server(), and setSubTabs().
Referenced by addRoleAssignment(), confirmDeleteRules(), deleteRules(), editRoleAssignment(), saveRoleSelection(), and updateRoleAssignment().
ilLDAPSettingsGUI::roleMapping | ( | ) |
Role Mapping Tab.
Definition at line 1448 of file class.ilLDAPSettingsGUI.php.
References $lng, $object_data_cache, $rbacReview, $ui_factory, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\UI\examples\Progress\Bar\server(), ilFormPropertyGUI\setInfo(), setSubTabs(), and ILIAS\Repository\toolbar().
Referenced by deleteRoleMapping().
|
private |
Definition at line 512 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 1048 of file class.ilLDAPSettingsGUI.php.
References ILIAS\Repository\ctrl(), initAttributeMapping(), initForm(), ILIAS\Repository\lng(), ILIAS\UI\examples\Progress\Bar\server(), and setSubTabs().
ilLDAPSettingsGUI::saveMapping | ( | ) |
Definition at line 727 of file class.ilLDAPSettingsGUI.php.
References getMappingFields(), initAttributeMapping(), initUserDefinedFields(), ILIAS\Repository\lng(), and userMapping().
|
protected |
Save role selection.
Definition at line 570 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 1855 of file class.ilLDAPSettingsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\UI\examples\Progress\Bar\server().
|
private |
Definition at line 773 of file class.ilLDAPSettingsGUI.php.
References ilLDAPServer\_getAllServer(), ilLDAPServer\checkLDAPLib(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\UI\examples\Progress\Bar\server(), and ILIAS\Repository\toolbar().
Referenced by activateServer(), confirmDeleteServerSettings(), deactivateServer(), and deleteServerSettings().
ilLDAPSettingsGUI::setServerFormValues | ( | ) |
Definition at line 806 of file class.ilLDAPSettingsGUI.php.
References ilLDAPAttributeMapping\_lookupGlobalRole(), and ILIAS\UI\examples\Progress\Bar\server().
Referenced by editServerSettings().
|
private |
Set sub tabs for ldap section.
Definition at line 1119 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 361 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 540 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 387 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 1824 of file class.ilLDAPSettingsGUI.php.
References ILIAS\Repository\ctrl(), initRoleMappingForm(), ILIAS\Repository\lng(), and ILIAS\UI\examples\Progress\Bar\server().
ilLDAPSettingsGUI::userMapping | ( | ) |
Ldap User Mapping.
Definition at line 1673 of file class.ilLDAPSettingsGUI.php.
References initAttributeMapping(), initUserMappingForm(), setSubTabs(), and userMappingToolbar().
Referenced by chooseMapping(), and saveMapping().
|
private |
Create Toolbar.
Definition at line 1383 of file class.ilLDAPSettingsGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\toolbar().
Referenced by userMapping().
|
private |
Definition at line 66 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 45 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 35 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 33 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 32 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 69 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 40 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 39 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 59 of file class.ilLDAPSettingsGUI.php.
Referenced by initServer().
|
private |
Definition at line 37 of file class.ilLDAPSettingsGUI.php.
Referenced by getRoleAssignmentTable(), and roleMapping().
|
private |
Definition at line 44 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 31 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 62 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 58 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 57 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 71 of file class.ilLDAPSettingsGUI.php.
Referenced by roleMapping().
|
private |
Definition at line 41 of file class.ilLDAPSettingsGUI.php.
Referenced by roleMapping().
|
private |
Definition at line 42 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 29 of file class.ilLDAPSettingsGUI.php.
Definition at line 70 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 64 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 63 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 55 of file class.ilLDAPSettingsGUI.php.
Referenced by prepareGlobalRoleSelection(), and setValuesByArray().
|
private |
Definition at line 49 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 47 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 65 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 48 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 54 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 53 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 30 of file class.ilLDAPSettingsGUI.php.
Referenced by getServer().
|
private |
Definition at line 61 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 36 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 43 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 38 of file class.ilLDAPSettingsGUI.php.
|
private |
Definition at line 46 of file class.ilLDAPSettingsGUI.php.
Definition at line 67 of file class.ilLDAPSettingsGUI.php.
Referenced by getRoleAssignmentTable(), and roleMapping().
|
private |
Definition at line 68 of file class.ilLDAPSettingsGUI.php.