|
ILIAS
trunk Revision v12.0_alpha-1227-g7ff6d300864
|
Collaboration diagram for ilLDAPServer:Public Member Functions | |
| __construct (int $a_server_id=0) | |
| rotateFallbacks () | |
| Rotate fallback urls in case of connect timeouts (move first to end and persist). More... | |
| getServerId () | |
| enableAuthentication (bool $a_status) | |
| Enable authentication for this ldap server. More... | |
| isAuthenticationEnabled () | |
| Check if authentication is enabled. More... | |
| setAuthenticationMapping (int $a_map) | |
| Set mapped authentication mapping. More... | |
| getAuthenticationMapping () | |
| Get authentication mode that is mapped. More... | |
| getAuthenticationMappingKey () | |
| Get authentication mapping key Default is ldap. More... | |
| toggleActive (bool $a_status) | |
| isActive () | |
| getUrl () | |
| setUrl (string $a_url) | |
| Set server URL(s). More... | |
| getUrlString () | |
| doConnectionCheck (bool $prevent_persisted_rotation=false) | |
| Check ldap connection and do a fallback to the next server if no connection is possible. More... | |
| getName () | |
| setName (string $a_name) | |
| getVersion () | |
| setVersion (int $a_version) | |
| getBaseDN () | |
| setBaseDN (string $a_base_dn) | |
| isActiveReferrer () | |
| toggleReferrer (bool $a_status) | |
| isActiveTLS () | |
| toggleTLS (bool $a_status) | |
| getBindingType () | |
| setBindingType (int $a_type) | |
| getBindUser () | |
| setBindUser (string $a_user) | |
| getBindPassword () | |
| setBindPassword (string $a_password) | |
| getSearchBase () | |
| setSearchBase (string $a_search_base) | |
| getUserAttribute () | |
| setUserAttribute (string $a_user_attr) | |
| getFilter () | |
| setFilter (string $a_filter) | |
| getGroupDN () | |
| setGroupDN (string $a_value) | |
| getGroupFilter () | |
| setGroupFilter (string $a_value) | |
| getGroupMember () | |
| setGroupMember (string $a_value) | |
| getGroupName () | |
| setGroupName (string $a_value) | |
| getGroupNames () | |
| Get group names as array. More... | |
| getGroupAttribute () | |
| setGroupAttribute (string $a_value) | |
| toggleMembershipOptional (bool $a_status) | |
| isMembershipOptional () | |
| setGroupUserFilter (string $a_filter) | |
| getGroupUserFilter () | |
| enabledGroupMemberIsDN () | |
| enableGroupMemberIsDN (bool $a_value) | |
| setGroupScope (int $a_value) | |
| getGroupScope () | |
| setUserScope (int $a_value) | |
| getUserScope () | |
| enabledSyncOnLogin () | |
| enableSyncOnLogin (bool $a_value) | |
| enabledSyncPerCron () | |
| enableSyncPerCron (bool $a_value) | |
| setGlobalRole (int $a_role) | |
| getRoleBindDN () | |
| setRoleBindDN (string $a_value) | |
| getRoleBindPassword () | |
| setRoleBindPassword (string $a_value) | |
| enabledRoleSynchronization () | |
| enableRoleSynchronization (bool $a_value) | |
| getUsernameFilter () | |
| setUsernameFilter (string $a_value) | |
| enableEscapeDN (bool $a_value) | |
| enabledEscapeDN () | |
| enableAccountMigration (bool $a_status) | |
| Enable account migration. More... | |
| isAccountMigrationEnabled () | |
| enabled account migration More... | |
| validate () | |
| Validate user input. More... | |
| getUrlValidationError () | |
| Return URL validation error message if URL list is invalid, null otherwise. More... | |
| create () | |
| update () | |
| delete () | |
| delete More... | |
| toPearAuthArray () | |
| Creates an array of options compatible to PEAR Auth. More... | |
Static Public Member Functions | |
| static | getInstanceByServerId (int $a_server_id) |
| Get instance by server id. More... | |
| static | checkLDAPLib () |
| Check if ldap module is installed. More... | |
| static | _getActiveServerList () |
| Get active server list. More... | |
| static | _getCronServerIds () |
| Get list of acticve servers with option 'SyncCron'. More... | |
| static | _getRoleSyncServerIds () |
| Check whether there if there is an active server with option role_sync_active. More... | |
| static | _getFirstActiveServer () |
| Get first active server. More... | |
| static | _getServerList () |
| Get list of all configured servers. More... | |
| static | getServerIds () |
| Get all server ids. More... | |
| static | _getAllServer () |
| Get list of all configured servers. More... | |
| static | getAvailableDataSources (int $a_auth_mode) |
| static | isDataSourceActive (int $a_auth_mode) |
| Check if a data source is active for a specific auth mode. More... | |
| static | getDataSource (int $a_auth_mode) |
| static | disableDataSourceForAuthMode (int $a_authmode) |
| Disable data source. More... | |
| static | toggleDataSource (int $a_ldap_server_id, int $a_auth_mode, int $a_status) |
| Toggle Data Source. More... | |
| static | isAuthModeLDAP (string $a_auth_mode) |
| Check if user auth mode is LDAP. More... | |
| static | getServerIdByAuthMode (string $a_auth_mode) |
| Get auth id by auth mode. More... | |
| static | getAuthModeByKey (string $a_auth_key) |
| get auth mode by key More... | |
| static | getKeyByAuthMode (string $a_auth_mode) |
| Get auth id by auth mode. More... | |
Data Fields | |
| const | LDAP_BIND_ANONYMOUS = 0 |
| const | LDAP_BIND_USER = 1 |
| const | LDAP_SCOPE_SUB = 0 |
| const | LDAP_SCOPE_ONE = 1 |
| const | LDAP_SCOPE_BASE = 2 |
| const | DEFAULT_NETWORK_TIMEOUT = 5 |
Private Member Functions | |
| prepareFilter (string $a_filter) | |
| Create brackets for filters if they do not exist. More... | |
| getPearAtributeArray () | |
| Get attribute array for pear auth data. More... | |
| read () | |
| Read server settings. More... | |
Private Attributes | |
| const | DEBUG = false |
| const | DEFAULT_VERSION = 3 |
| string | $role_bind_dn = '' |
| string | $role_bind_pass = '' |
| bool | $role_sync_active = false |
| int | $server_id |
| ILIAS LDAP Server ServerUrlList | $url_list |
| bool | $enabled_authentication = true |
| int | $authentication_mapping = 0 |
| bool | $escape_dn = false |
| bool | $active = false |
| string | $name = '' |
| int | $version = self::DEFAULT_VERSION |
| string | $base_dn = '' |
| bool | $referrals = false |
| bool | $tls = false |
| int | $binding_type = self::LDAP_BIND_ANONYMOUS |
| string | $bind_user = '' |
| string | $bind_password = '' |
| string | $search_base = '' |
| string | $user_attribute = '' |
| int | $user_scope = self::LDAP_SCOPE_ONE |
| string | $group_filter = '' |
| string | $filter = '' |
| string | $group_dn = '' |
| string | $group_member = '' |
| int | $group_scope = self::LDAP_SCOPE_ONE |
| string | $group_name = '' |
| bool | $memberisdn = false |
| string | $group_attribute = '' |
| bool | $group_optional = true |
| string | $group_user_filter = '' |
| bool | $sync_on_login = false |
| bool | $sync_per_cron = false |
| bool | $account_migration = false |
| string | $username_filter = '' |
| int | $global_role = 0 |
| ilDBInterface | $db |
| ilLanguage | $lng |
| ilErrorHandling | $ilErr |
| ilLogger | $logger |
Static Private Attributes | |
| static array | $instances = [] |
Definition at line 21 of file class.ilLDAPServer.php.
| ilLDAPServer::__construct | ( | int | $a_server_id = 0 | ) |
Definition at line 80 of file class.ilLDAPServer.php.
References $DIC, ILIAS\Repository\lng(), ILIAS\Repository\logger(), and read().
Here is the call graph for this function:
|
static |
Get active server list.
Definition at line 136 of file class.ilLDAPServer.php.
References $DIC, $ilDB, $res, and ILIAS\Repository\int().
Referenced by ilAuthUtils\_getActiveAuthModes(), _getFirstActiveServer(), ilAuthUtils\_getMultipleAuthModeOptions(), ilAuthUtils\_hasMultipleAuthenticationMethods(), ilAuthUtils\_isExternalAccountEnabled(), ilUserImportParser\importBeginTag(), ilAuthModeDetermination\read(), and ilUserImportParser\verifyBeginTag().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get list of all configured servers.
Definition at line 266 of file class.ilLDAPServer.php.
References $DIC, $ilDB, $res, and $server.
Referenced by ilLDAPSettingsGUI\serverListCmd().
Here is the caller graph for this function:
|
static |
Get list of acticve servers with option 'SyncCron'.
Definition at line 160 of file class.ilLDAPServer.php.
References $DIC, $ilDB, $res, and ILIAS\Repository\int().
Referenced by ilLDAPCronSynchronization\run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get first active server.
Definition at line 210 of file class.ilLDAPServer.php.
References _getActiveServerList().
Referenced by ilECSCmsCourseMemberCommandQueueHandler\createMember().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Check whether there if there is an active server with option role_sync_active.
Definition at line 185 of file class.ilLDAPServer.php.
References $DIC, $ilDB, $res, and ILIAS\Repository\int().
Referenced by ilLDAPRoleGroupMapping\initServers().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get list of all configured servers.
Definition at line 224 of file class.ilLDAPServer.php.
References $DIC, $ilDB, and $res.
Referenced by ilAuthUtils\_getAllAuthModes(), and ilLDAPSettingsGUI\setSubTabs().
Here is the caller graph for this function:
|
static |
Check if ldap module is installed.
Definition at line 126 of file class.ilLDAPServer.php.
Referenced by ilLDAPSettingsGUI\serverListCmd().
Here is the caller graph for this function:| ilLDAPServer::create | ( | ) |
Definition at line 892 of file class.ilLDAPServer.php.
References enabledEscapeDN(), enabledGroupMemberIsDN(), enabledRoleSynchronization(), enabledSyncOnLogin(), enabledSyncPerCron(), getAuthenticationMapping(), getBaseDN(), getBindingType(), getBindPassword(), getBindUser(), getFilter(), getGroupAttribute(), getGroupDN(), getGroupFilter(), getGroupMember(), getGroupName(), getGroupScope(), getGroupUserFilter(), getName(), getRoleBindDN(), getRoleBindPassword(), getSearchBase(), getUrlString(), getUserAttribute(), getUsernameFilter(), getUserScope(), getVersion(), isAccountMigrationEnabled(), isActive(), isActiveReferrer(), isActiveTLS(), isAuthenticationEnabled(), and isMembershipOptional().
Here is the call graph for this function:| ilLDAPServer::delete | ( | ) |
delete
Definition at line 994 of file class.ilLDAPServer.php.
References ilLDAPAttributeMapping\_delete(), ilLDAPRoleGroupMappingSettings\_deleteByServerId(), ilLDAPRoleAssignmentRule\_getRules(), and getServerId().
Here is the call graph for this function:
|
static |
Disable data source.
Definition at line 340 of file class.ilLDAPServer.php.
Referenced by toggleDataSource().
Here is the caller graph for this function:| ilLDAPServer::doConnectionCheck | ( | bool | $prevent_persisted_rotation = false | ) |
Check ldap connection and do a fallback to the next server if no connection is possible.
Definition at line 513 of file class.ilLDAPServer.php.
References ilLDAPQuery\LDAP_BIND_TEST, ILIAS\Repository\logger(), and rotateFallbacks().
Here is the call graph for this function:| ilLDAPServer::enableAccountMigration | ( | bool | $a_status | ) |
Enable account migration.
Definition at line 822 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::enableAuthentication | ( | bool | $a_status | ) |
Enable authentication for this ldap server.
Definition at line 442 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::enabledEscapeDN | ( | ) |
Definition at line 814 of file class.ilLDAPServer.php.
References $escape_dn.
Referenced by create(), toPearAuthArray(), and update().
Here is the caller graph for this function:| ilLDAPServer::enabledGroupMemberIsDN | ( | ) |
Definition at line 731 of file class.ilLDAPServer.php.
References $memberisdn.
Referenced by create(), toPearAuthArray(), and update().
Here is the caller graph for this function:| ilLDAPServer::enabledRoleSynchronization | ( | ) |
Definition at line 791 of file class.ilLDAPServer.php.
References $role_sync_active.
Referenced by create(), and update().
Here is the caller graph for this function:| ilLDAPServer::enabledSyncOnLogin | ( | ) |
Definition at line 755 of file class.ilLDAPServer.php.
References $sync_on_login.
Referenced by create(), getPearAtributeArray(), update(), and validate().
Here is the caller graph for this function:| ilLDAPServer::enabledSyncPerCron | ( | ) |
Definition at line 763 of file class.ilLDAPServer.php.
References $sync_per_cron.
Referenced by create(), update(), and validate().
Here is the caller graph for this function:| ilLDAPServer::enableEscapeDN | ( | bool | $a_value | ) |
Definition at line 809 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::enableGroupMemberIsDN | ( | bool | $a_value | ) |
Definition at line 735 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::enableRoleSynchronization | ( | bool | $a_value | ) |
Definition at line 795 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::enableSyncOnLogin | ( | bool | $a_value | ) |
Definition at line 759 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::enableSyncPerCron | ( | bool | $a_value | ) |
Definition at line 767 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::getAuthenticationMapping | ( | ) |
Get authentication mode that is mapped.
Definition at line 466 of file class.ilLDAPServer.php.
References $authentication_mapping.
Referenced by create(), getAuthenticationMappingKey(), and update().
Here is the caller graph for this function:| ilLDAPServer::getAuthenticationMappingKey | ( | ) |
Get authentication mapping key Default is ldap.
Definition at line 475 of file class.ilLDAPServer.php.
References ilAuthUtils\_getAuthModeName(), getAuthenticationMapping(), getServerId(), and isAuthenticationEnabled().
Here is the call graph for this function:
|
static |
get auth mode by key
Definition at line 411 of file class.ilLDAPServer.php.
Referenced by ilAuthUtils\_getAuthModeName().
Here is the caller graph for this function:
|
static |
Definition at line 283 of file class.ilLDAPServer.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
| ilLDAPServer::getBaseDN | ( | ) |
Definition at line 581 of file class.ilLDAPServer.php.
References $base_dn.
Referenced by create(), toPearAuthArray(), update(), and validate().
Here is the caller graph for this function:| ilLDAPServer::getBindingType | ( | ) |
Definition at line 605 of file class.ilLDAPServer.php.
References $binding_type.
Referenced by create(), toPearAuthArray(), update(), and validate().
Here is the caller graph for this function:| ilLDAPServer::getBindPassword | ( | ) |
Definition at line 625 of file class.ilLDAPServer.php.
References $bind_password.
Referenced by create(), toPearAuthArray(), update(), and validate().
Here is the caller graph for this function:| ilLDAPServer::getBindUser | ( | ) |
Definition at line 617 of file class.ilLDAPServer.php.
References $bind_user.
Referenced by create(), toPearAuthArray(), update(), and validate().
Here is the caller graph for this function:
|
static |
Definition at line 322 of file class.ilLDAPServer.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ILIAS\Authentication\Form\ApacheAuthSettingsForm\buildLdapEnableInput().
Here is the caller graph for this function:| ilLDAPServer::getFilter | ( | ) |
Definition at line 649 of file class.ilLDAPServer.php.
References ILIAS\Repository\filter(), and prepareFilter().
Referenced by create(), toPearAuthArray(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLDAPServer::getGroupAttribute | ( | ) |
Definition at line 706 of file class.ilLDAPServer.php.
References $group_attribute.
Referenced by create(), toPearAuthArray(), and update().
Here is the caller graph for this function:| ilLDAPServer::getGroupDN | ( | ) |
Definition at line 657 of file class.ilLDAPServer.php.
References $group_dn.
Referenced by create(), toPearAuthArray(), and update().
Here is the caller graph for this function:| ilLDAPServer::getGroupFilter | ( | ) |
Definition at line 665 of file class.ilLDAPServer.php.
References prepareFilter().
Referenced by create(), toPearAuthArray(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLDAPServer::getGroupMember | ( | ) |
Definition at line 673 of file class.ilLDAPServer.php.
References $group_member.
Referenced by create(), toPearAuthArray(), and update().
Here is the caller graph for this function:| ilLDAPServer::getGroupName | ( | ) |
Definition at line 681 of file class.ilLDAPServer.php.
References $group_name.
Referenced by create(), getGroupNames(), toPearAuthArray(), and update().
Here is the caller graph for this function:| ilLDAPServer::getGroupNames | ( | ) |
Get group names as array.
Definition at line 694 of file class.ilLDAPServer.php.
References getGroupName().
Here is the call graph for this function:| ilLDAPServer::getGroupScope | ( | ) |
Definition at line 743 of file class.ilLDAPServer.php.
References $group_scope.
Referenced by create(), toPearAuthArray(), and update().
Here is the caller graph for this function:| ilLDAPServer::getGroupUserFilter | ( | ) |
Definition at line 726 of file class.ilLDAPServer.php.
References $group_user_filter.
Referenced by create(), and update().
Here is the caller graph for this function:
|
static |
Get instance by server id.
Definition at line 98 of file class.ilLDAPServer.php.
Referenced by ilAuthUtils\_getMultipleAuthModeOptions(), ilObjAuthSettingsGUI\buildAuthModeDeterminationForm(), ilECSCmsCourseMemberCommandQueueHandler\createMember(), ilAuthModeDetermination\getAuthModeSequence(), ilAuthUtils\getAuthModeTranslation(), ILIAS\AuthApache\AuthProviderApache\handleLDAPDataSource(), ilLDAPUserSynchronisation\initServer(), ilLDAPRoleAssignmentRule\isGroupMember(), ilECSParticipantSettingsGUI\parseAvailableAuthModes(), and ilAuthModeDetermination\read().
Here is the caller graph for this function:
|
static |
Get auth id by auth mode.
Definition at line 424 of file class.ilLDAPServer.php.
References ilAuthUtils\AUTH_LDAP.
Referenced by ilAuthUtils\_getAuthMode().
Here is the caller graph for this function:| ilLDAPServer::getName | ( | ) |
Definition at line 565 of file class.ilLDAPServer.php.
References $name.
Referenced by create(), update(), and validate().
Here is the caller graph for this function:
|
private |
Get attribute array for pear auth data.
Definition at line 1096 of file class.ilLDAPServer.php.
References ilLDAPAttributeMapping\_getInstanceByServerId(), enabledSyncOnLogin(), ilLDAPRoleAssignmentRules\getAttributeNames(), getServerId(), and getUserAttribute().
Referenced by toPearAuthArray().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLDAPServer::getRoleBindDN | ( | ) |
Definition at line 775 of file class.ilLDAPServer.php.
References $role_bind_dn.
Referenced by create(), and update().
Here is the caller graph for this function:| ilLDAPServer::getRoleBindPassword | ( | ) |
Definition at line 783 of file class.ilLDAPServer.php.
References $role_bind_pass.
Referenced by create(), and update().
Here is the caller graph for this function:| ilLDAPServer::getSearchBase | ( | ) |
Definition at line 633 of file class.ilLDAPServer.php.
References $search_base.
Referenced by create(), toPearAuthArray(), and update().
Here is the caller graph for this function:| ilLDAPServer::getServerId | ( | ) |
Definition at line 434 of file class.ilLDAPServer.php.
References $server_id.
Referenced by delete(), getAuthenticationMappingKey(), getPearAtributeArray(), rotateFallbacks(), and update().
Here is the caller graph for this function:
|
static |
Get auth id by auth mode.
Definition at line 398 of file class.ilLDAPServer.php.
Referenced by ilObjAuthSettingsGUI\buildAuthModeDeterminationForm(), ilAuthModeDetermination\getAuthModeSequence(), ilAuthUtils\getAuthModeTranslation(), and ilAuthModeDetermination\read().
Here is the caller graph for this function:
|
static |
Get all server ids.
Definition at line 245 of file class.ilLDAPServer.php.
References $DIC, $ilDB, $res, $server, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by ILIAS\Authentication\Form\ApacheAuthSettingsForm\buildLdapEnableInput(), and ilECSParticipantSettingsGUI\parseAvailableAuthModes().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLDAPServer::getUrl | ( | ) |
Definition at line 491 of file class.ilLDAPServer.php.
Referenced by toPearAuthArray().
Here is the caller graph for this function:| ilLDAPServer::getUrlString | ( | ) |
Definition at line 504 of file class.ilLDAPServer.php.
Referenced by create(), and update().
Here is the caller graph for this function:| ilLDAPServer::getUrlValidationError | ( | ) |
Return URL validation error message if URL list is invalid, null otherwise.
Use for field-level feedback in forms (e.g. server_url setAlert).
Definition at line 878 of file class.ilLDAPServer.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ilLDAPServer::getUserAttribute | ( | ) |
Definition at line 641 of file class.ilLDAPServer.php.
References $user_attribute.
Referenced by create(), getPearAtributeArray(), toPearAuthArray(), update(), and validate().
Here is the caller graph for this function:| ilLDAPServer::getUsernameFilter | ( | ) |
Definition at line 800 of file class.ilLDAPServer.php.
References $username_filter.
Referenced by create(), and update().
Here is the caller graph for this function:| ilLDAPServer::getUserScope | ( | ) |
Definition at line 751 of file class.ilLDAPServer.php.
References $user_scope.
Referenced by create(), toPearAuthArray(), and update().
Here is the caller graph for this function:| ilLDAPServer::getVersion | ( | ) |
Definition at line 573 of file class.ilLDAPServer.php.
References $version.
Referenced by create(), toPearAuthArray(), update(), and validate().
Here is the caller graph for this function:| ilLDAPServer::isAccountMigrationEnabled | ( | ) |
enabled account migration
Definition at line 830 of file class.ilLDAPServer.php.
References $account_migration.
Referenced by create(), and update().
Here is the caller graph for this function:| ilLDAPServer::isActive | ( | ) |
Definition at line 487 of file class.ilLDAPServer.php.
References $active.
Referenced by create(), and update().
Here is the caller graph for this function:| ilLDAPServer::isActiveReferrer | ( | ) |
Definition at line 589 of file class.ilLDAPServer.php.
References $referrals.
Referenced by create(), toPearAuthArray(), and update().
Here is the caller graph for this function:| ilLDAPServer::isActiveTLS | ( | ) |
Definition at line 597 of file class.ilLDAPServer.php.
References $tls.
Referenced by create(), toPearAuthArray(), update(), and validate().
Here is the caller graph for this function:| ilLDAPServer::isAuthenticationEnabled | ( | ) |
Check if authentication is enabled.
Definition at line 450 of file class.ilLDAPServer.php.
References $enabled_authentication.
Referenced by create(), getAuthenticationMappingKey(), and update().
Here is the caller graph for this function:
|
static |
Check if user auth mode is LDAP.
Definition at line 379 of file class.ilLDAPServer.php.
References $DIC, $logger, ilAuthUtils\AUTH_LDAP, and ilLogger\error().
Referenced by ilObjAuthSettingsGUI\buildAuthModeDeterminationForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Check if a data source is active for a specific auth mode.
Definition at line 306 of file class.ilLDAPServer.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
| ilLDAPServer::isMembershipOptional | ( | ) |
Definition at line 718 of file class.ilLDAPServer.php.
References $group_optional.
Referenced by create(), and update().
Here is the caller graph for this function:
|
private |
Create brackets for filters if they do not exist.
Definition at line 1076 of file class.ilLDAPServer.php.
References $filter.
Referenced by getFilter(), and getGroupFilter().
Here is the caller graph for this function:
|
private |
Read server settings.
Definition at line 1115 of file class.ilLDAPServer.php.
References $res, enableAccountMigration(), enableAuthentication(), enableEscapeDN(), enableGroupMemberIsDN(), enableRoleSynchronization(), enableSyncOnLogin(), enableSyncPerCron(), ilDBConstants\FETCHMODE_OBJECT, setAuthenticationMapping(), setBaseDN(), setBindingType(), setBindPassword(), setBindUser(), setFilter(), setGroupAttribute(), setGroupDN(), setGroupFilter(), setGroupMember(), setGroupName(), setGroupScope(), setGroupUserFilter(), setName(), setRoleBindDN(), setRoleBindPassword(), setSearchBase(), setUrl(), setUserAttribute(), setUsernameFilter(), setUserScope(), setVersion(), ilDBConstants\T_INTEGER, toggleActive(), toggleMembershipOptional(), toggleReferrer(), and toggleTLS().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLDAPServer::rotateFallbacks | ( | ) |
Rotate fallback urls in case of connect timeouts (move first to end and persist).
Definition at line 106 of file class.ilLDAPServer.php.
References getServerId().
Referenced by doConnectionCheck().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLDAPServer::setAuthenticationMapping | ( | int | $a_map | ) |
Set mapped authentication mapping.
Definition at line 458 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::setBaseDN | ( | string | $a_base_dn | ) |
Definition at line 585 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::setBindingType | ( | int | $a_type | ) |
Definition at line 609 of file class.ilLDAPServer.php.
References LDAP_BIND_ANONYMOUS, and LDAP_BIND_USER.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::setBindPassword | ( | string | $a_password | ) |
Definition at line 629 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::setBindUser | ( | string | $a_user | ) |
Definition at line 621 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::setFilter | ( | string | $a_filter | ) |
Definition at line 653 of file class.ilLDAPServer.php.
References ILIAS\Repository\filter().
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLDAPServer::setGlobalRole | ( | int | $a_role | ) |
Definition at line 771 of file class.ilLDAPServer.php.
| ilLDAPServer::setGroupAttribute | ( | string | $a_value | ) |
Definition at line 710 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::setGroupDN | ( | string | $a_value | ) |
Definition at line 661 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::setGroupFilter | ( | string | $a_value | ) |
Definition at line 669 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::setGroupMember | ( | string | $a_value | ) |
Definition at line 677 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::setGroupName | ( | string | $a_value | ) |
Definition at line 685 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::setGroupScope | ( | int | $a_value | ) |
Definition at line 739 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::setGroupUserFilter | ( | string | $a_filter | ) |
Definition at line 722 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::setName | ( | string | $a_name | ) |
Definition at line 569 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::setRoleBindDN | ( | string | $a_value | ) |
Definition at line 779 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::setRoleBindPassword | ( | string | $a_value | ) |
Definition at line 787 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::setSearchBase | ( | string | $a_search_base | ) |
Definition at line 637 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::setUrl | ( | string | $a_url | ) |
Set server URL(s).
Pass empty string when URL column is NULL or empty.
Definition at line 499 of file class.ilLDAPServer.php.
References ILIAS\LDAP\Server\ServerUrlList\fromString().
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilLDAPServer::setUserAttribute | ( | string | $a_user_attr | ) |
Definition at line 645 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::setUsernameFilter | ( | string | $a_value | ) |
Definition at line 804 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::setUserScope | ( | int | $a_value | ) |
Definition at line 747 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::setVersion | ( | int | $a_version | ) |
Definition at line 577 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::toggleActive | ( | bool | $a_status | ) |
Definition at line 483 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:
|
static |
Toggle Data Source.
Definition at line 359 of file class.ilLDAPServer.php.
References $DIC, $ilDB, and disableDataSourceForAuthMode().
Here is the call graph for this function:| ilLDAPServer::toggleMembershipOptional | ( | bool | $a_status | ) |
Definition at line 714 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::toggleReferrer | ( | bool | $a_status | ) |
Definition at line 593 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::toggleTLS | ( | bool | $a_status | ) |
Definition at line 601 of file class.ilLDAPServer.php.
Referenced by read().
Here is the caller graph for this function:| ilLDAPServer::toPearAuthArray | ( | ) |
Creates an array of options compatible to PEAR Auth.
Definition at line 1022 of file class.ilLDAPServer.php.
References ILIAS\UI\Implementation\Component\Input\Field\$options, DEBUG, enabledEscapeDN(), enabledGroupMemberIsDN(), getBaseDN(), getBindingType(), getBindPassword(), getBindUser(), getFilter(), getGroupAttribute(), getGroupDN(), getGroupFilter(), getGroupMember(), getGroupName(), getGroupScope(), getPearAtributeArray(), getSearchBase(), getUrl(), getUserAttribute(), getUserScope(), getVersion(), isActiveReferrer(), isActiveTLS(), LDAP_SCOPE_BASE, and LDAP_SCOPE_ONE.
Here is the call graph for this function:| ilLDAPServer::update | ( | ) |
Definition at line 949 of file class.ilLDAPServer.php.
References enabledEscapeDN(), enabledGroupMemberIsDN(), enabledRoleSynchronization(), enabledSyncOnLogin(), enabledSyncPerCron(), getAuthenticationMapping(), getBaseDN(), getBindingType(), getBindPassword(), getBindUser(), getFilter(), getGroupAttribute(), getGroupDN(), getGroupFilter(), getGroupMember(), getGroupName(), getGroupScope(), getGroupUserFilter(), getName(), getRoleBindDN(), getRoleBindPassword(), getSearchBase(), getServerId(), getUrlString(), getUserAttribute(), getUsernameFilter(), getUserScope(), getVersion(), isAccountMigrationEnabled(), isActive(), isActiveReferrer(), isActiveTLS(), isAuthenticationEnabled(), and isMembershipOptional().
Here is the call graph for this function:| ilLDAPServer::validate | ( | ) |
Validate user input.
Definition at line 839 of file class.ilLDAPServer.php.
References enabledSyncOnLogin(), enabledSyncPerCron(), getBaseDN(), getBindingType(), getBindPassword(), getBindUser(), getName(), getUserAttribute(), getVersion(), isActiveTLS(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 71 of file class.ilLDAPServer.php.
Referenced by isAccountMigrationEnabled().
|
private |
Definition at line 46 of file class.ilLDAPServer.php.
Referenced by isActive().
|
private |
Definition at line 43 of file class.ilLDAPServer.php.
Referenced by getAuthenticationMapping().
|
private |
Definition at line 50 of file class.ilLDAPServer.php.
Referenced by getBaseDN().
|
private |
Definition at line 55 of file class.ilLDAPServer.php.
Referenced by getBindPassword().
|
private |
Definition at line 54 of file class.ilLDAPServer.php.
Referenced by getBindUser().
|
private |
Definition at line 53 of file class.ilLDAPServer.php.
Referenced by getBindingType().
|
private |
Definition at line 75 of file class.ilLDAPServer.php.
|
private |
Definition at line 42 of file class.ilLDAPServer.php.
Referenced by isAuthenticationEnabled().
|
private |
Definition at line 44 of file class.ilLDAPServer.php.
Referenced by enabledEscapeDN().
|
private |
Definition at line 60 of file class.ilLDAPServer.php.
Referenced by prepareFilter().
|
private |
Definition at line 73 of file class.ilLDAPServer.php.
|
private |
Definition at line 66 of file class.ilLDAPServer.php.
Referenced by getGroupAttribute().
|
private |
Definition at line 61 of file class.ilLDAPServer.php.
Referenced by getGroupDN().
|
private |
Definition at line 59 of file class.ilLDAPServer.php.
|
private |
Definition at line 62 of file class.ilLDAPServer.php.
Referenced by getGroupMember().
|
private |
Definition at line 64 of file class.ilLDAPServer.php.
Referenced by getGroupName().
|
private |
Definition at line 67 of file class.ilLDAPServer.php.
Referenced by isMembershipOptional().
|
private |
Definition at line 63 of file class.ilLDAPServer.php.
Referenced by getGroupScope().
|
private |
Definition at line 68 of file class.ilLDAPServer.php.
Referenced by getGroupUserFilter().
|
private |
Definition at line 77 of file class.ilLDAPServer.php.
|
staticprivate |
Definition at line 23 of file class.ilLDAPServer.php.
|
private |
Definition at line 76 of file class.ilLDAPServer.php.
|
private |
Definition at line 78 of file class.ilLDAPServer.php.
Referenced by isAuthModeLDAP().
|
private |
Definition at line 65 of file class.ilLDAPServer.php.
Referenced by enabledGroupMemberIsDN().
|
private |
Definition at line 48 of file class.ilLDAPServer.php.
Referenced by getName().
|
private |
Definition at line 51 of file class.ilLDAPServer.php.
Referenced by isActiveReferrer().
|
private |
Definition at line 36 of file class.ilLDAPServer.php.
Referenced by getRoleBindDN().
|
private |
Definition at line 37 of file class.ilLDAPServer.php.
Referenced by getRoleBindPassword().
|
private |
Definition at line 38 of file class.ilLDAPServer.php.
Referenced by enabledRoleSynchronization().
|
private |
Definition at line 56 of file class.ilLDAPServer.php.
Referenced by getSearchBase().
|
private |
Definition at line 40 of file class.ilLDAPServer.php.
Referenced by getServerId().
|
private |
Definition at line 69 of file class.ilLDAPServer.php.
Referenced by enabledSyncOnLogin().
|
private |
Definition at line 70 of file class.ilLDAPServer.php.
Referenced by enabledSyncPerCron().
|
private |
Definition at line 52 of file class.ilLDAPServer.php.
Referenced by isActiveTLS().
|
private |
Definition at line 41 of file class.ilLDAPServer.php.
|
private |
Definition at line 57 of file class.ilLDAPServer.php.
Referenced by getUserAttribute().
|
private |
Definition at line 58 of file class.ilLDAPServer.php.
Referenced by getUserScope().
|
private |
Definition at line 72 of file class.ilLDAPServer.php.
Referenced by getUsernameFilter().
|
private |
Definition at line 49 of file class.ilLDAPServer.php.
Referenced by getVersion().
|
private |
Definition at line 32 of file class.ilLDAPServer.php.
Referenced by toPearAuthArray().
| const ilLDAPServer::DEFAULT_NETWORK_TIMEOUT = 5 |
Definition at line 34 of file class.ilLDAPServer.php.
Referenced by ilLDAPQuery\bind().
|
private |
Definition at line 33 of file class.ilLDAPServer.php.
| const ilLDAPServer::LDAP_BIND_ANONYMOUS = 0 |
Definition at line 25 of file class.ilLDAPServer.php.
Referenced by ilLDAPSettingsGUI\initForm(), and setBindingType().
| const ilLDAPServer::LDAP_BIND_USER = 1 |
Definition at line 26 of file class.ilLDAPServer.php.
Referenced by ilLDAPQuery\bind(), ilLDAPSettingsGUI\initForm(), and setBindingType().
| const ilLDAPServer::LDAP_SCOPE_BASE = 2 |
Definition at line 30 of file class.ilLDAPServer.php.
Referenced by ilLDAPRoleAssignmentRule\isGroupMember(), ilLDAPQuery\queryByScope(), ilLDAPQuery\readUserData(), and toPearAuthArray().
| const ilLDAPServer::LDAP_SCOPE_ONE = 1 |
Definition at line 29 of file class.ilLDAPServer.php.
Referenced by ilLDAPSettingsGUI\initForm(), ilLDAPQuery\queryByScope(), and toPearAuthArray().
| const ilLDAPServer::LDAP_SCOPE_SUB = 0 |
Definition at line 28 of file class.ilLDAPServer.php.
Referenced by ilLDAPSettingsGUI\initForm(), and ilLDAPQuery\queryByScope().