| ILIAS
    release_5-3 Revision v5.3.23-19-g915713cf615
    | 
 Collaboration diagram for ilLDAPServer:
 Collaboration diagram for ilLDAPServer:| Static Public Member Functions | |
| static | getInstanceByServerId ($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 | _getPasswordServers () | 
| Checks whether password synchronistation is enabled for an user.  More... | |
| static | _getFirstActiveServer () | 
| Get first active server.  More... | |
| static | _getServerList () | 
| Get list of all configured servers.  More... | |
| static | getServerIds () | 
| Get all server ids @global ilDB $ilDB.  More... | |
| static | _getAllServer () | 
| Get list of all configured servers.  More... | |
| static | _getFirstServer () | 
| static | getAvailableDataSources ($a_auth_mode) | 
| static | isDataSourceActive ($a_auth_mode) | 
| Check if a data source is active for a specific auth mode @global ilDB $ilDB.  More... | |
| static | getDataSource ($a_auth_mode) | 
| static | disableDataSourceForAuthMode ($a_authmode) | 
| Disable data source.  More... | |
| static | toggleDataSource ($a_ldap_server_id, $a_auth_mode, $a_status) | 
| Toggle Data Source.  More... | |
| static | isAuthModeLDAP ($a_auth_mode) | 
| Check if user auth mode is LDAP.  More... | |
| static | getServerIdByAuthMode ($a_auth_mode) | 
| Get auth id by auth mode.  More... | |
| static | getAuthModeByKey ($a_auth_key) | 
| get auth mode by key  More... | |
| static | getKeyByAuthMode ($a_auth_mode) | 
| Get auth id by auth mode.  More... | |
| Data Fields | |
| const | DEBUG = false | 
| const | DEFAULT_VERSION = 3 | 
| const | DEFAULT_NETWORK_TIMEOUT = 5 | 
| Private Member Functions | |
| prepareFilter ($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 | |
| $role_bind_dn = '' | |
| $role_bind_pass = '' | |
| $role_sync_active = 0 | |
| $server_id = null | |
| $fallback_urls = array() | |
| $enabled_authentication = true | |
| $authentication_mapping = 0 | |
| Static Private Attributes | |
| static | $instances = array() | 
| ilLDAPServer::__construct | ( | $a_server_id = 0 | ) | 
| 
 | static | 
Get active server list.
Definition at line 103 of file class.ilLDAPServer.php.
References $ilDB, $query, $res, and $row.
Referenced by ilAuthUtils\_getActiveAuthModes(), _getFirstActiveServer(), ilAuthUtils\_getMultipleAuthModeOptions(), _getPasswordServers(), ilAuthUtils\_hasMultipleAuthenticationMethods(), ilAuthUtils\_isExternalAccountEnabled(), ilUserImportParser\importBeginTag(), ilAuthModeDetermination\read(), and ilUserImportParser\verifyBeginTag().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get list of all configured servers.
Definition at line 233 of file class.ilLDAPServer.php.
References $ilDB, $query, $res, $row, and $server.
Referenced by ilLDAPServerTableGUI\importData().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get list of acticve servers with option 'SyncCron'.
Definition at line 123 of file class.ilLDAPServer.php.
References $ilDB, $query, $res, and $row.
Referenced by ilLDAPCronSynchronization\run().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get first active server.
Definition at line 180 of file class.ilLDAPServer.php.
References _getActiveServerList().
Referenced by ilECSCmsCourseMemberCommandQueueHandler\createMember(), and ilAuthLoginPageEditorGUI\initLoginForm().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 253 of file class.ilLDAPServer.php.
References _getServerList().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Checks whether password synchronistation is enabled for an user.
@access public
| int | user_id | 
Definition at line 169 of file class.ilLDAPServer.php.
References _getActiveServerList().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Check whether there if there is an active server with option role_sync_active.
@access public
Definition at line 146 of file class.ilLDAPServer.php.
References $ilDB, $query, $res, and $row.
Referenced by ilLDAPRoleGroupMapping\initServers().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get list of all configured servers.
Definition at line 194 of file class.ilLDAPServer.php.
References $ilDB, $query, $res, and $row.
Referenced by ilAuthUtils\_getAllAuthModes(), _getFirstServer(), and ilLDAPSettingsGUI\setSubTabs().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Check if ldap module is installed.
Definition at line 93 of file class.ilLDAPServer.php.
Referenced by ilLDAPSettingsGUI\serverList().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::create | ( | ) | 
Definition at line 832 of file class.ilLDAPServer.php.
References $ilDB, $query, $res, 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:
 Here is the call graph for this function:| ilLDAPServer::delete | ( | ) | 
delete
Definition at line 938 of file class.ilLDAPServer.php.
References $query, $res, ilLDAPAttributeMapping\_delete(), ilLDAPRoleGroupMappingSettings\_deleteByServerId(), ilLDAPRoleAssignmentRule\_getRules(), and getServerId().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Disable data source.
Definition at line 318 of file class.ilLDAPServer.php.
Referenced by ilCASSettingsGUI\save(), ilRadiusSettingsGUI\save(), and toggleDataSource().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::doConnectionCheck | ( | ) | 
Check ldap connection and do a fallback to the next server if no connection is possible.
@access public
Definition at line 509 of file class.ilLDAPServer.php.
References $query, $url, ilLoggerFactory\getLogger(), IL_LDAP_BIND_TEST, and rotateFallbacks().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilLDAPServer::enableAccountMigration | ( | $a_status | ) | 
Enable account migration.
@access public
| bool | status | 
Definition at line 783 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::enableAuthentication | ( | $a_status | ) | 
Enable authentication for this ldap server.
| bool | $a_status | 
Definition at line 420 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::enabledGroupMemberIsDN | ( | ) | 
Definition at line 698 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::enabledRoleSynchronization | ( | ) | 
Definition at line 758 of file class.ilLDAPServer.php.
References $role_sync_active.
Referenced by create(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::enabledSyncOnLogin | ( | ) | 
Definition at line 722 of file class.ilLDAPServer.php.
Referenced by create(), getPearAtributeArray(), update(), and validate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::enabledSyncPerCron | ( | ) | 
Definition at line 730 of file class.ilLDAPServer.php.
Referenced by create(), update(), and validate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::enableGroupMemberIsDN | ( | $a_value | ) | 
Definition at line 702 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::enableRoleSynchronization | ( | $a_value | ) | 
Definition at line 762 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::enableSyncOnLogin | ( | $a_value | ) | 
Definition at line 726 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::enableSyncPerCron | ( | $a_value | ) | 
Definition at line 734 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getAuthenticationMapping | ( | ) | 
Get authentication mode that is mapped.
Definition at line 447 of file class.ilLDAPServer.php.
References $authentication_mapping.
Referenced by create(), getAuthenticationMappingKey(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getAuthenticationMappingKey | ( | ) | 
Get authentication mapping key Default is ldap.
Definition at line 457 of file class.ilLDAPServer.php.
References ilAuthUtils\_getAuthModeName(), getAuthenticationMapping(), getServerId(), and isAuthenticationEnabled().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
get auth mode by key
| type | $a_auth_key | 
Definition at line 385 of file class.ilLDAPServer.php.
Referenced by ilAuthUtils\_getAuthModeName().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 264 of file class.ilLDAPServer.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilCASSettingsGUI\initFormSettings(), and ilRadiusSettingsGUI\settings().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getBaseDN | ( | ) | 
Definition at line 547 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), update(), and validate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getBindingType | ( | ) | 
Definition at line 571 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), update(), and validate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getBindPassword | ( | ) | 
Definition at line 591 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), update(), and validate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getBindUser | ( | ) | 
Definition at line 583 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), update(), and validate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 302 of file class.ilLDAPServer.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjAuthSettingsGUI\getApacheAuthSettingsForm(), ilAuthContainerCAS\handleLDAPDataSource(), ilAuthProviderCAS\handleLDAPDataSource(), ilCASSettingsGUI\initFormSettings(), and ilRadiusSettingsGUI\settings().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getFilter | ( | ) | 
Definition at line 615 of file class.ilLDAPServer.php.
References prepareFilter().
Referenced by create(), toPearAuthArray(), and update().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getGroupAttribute | ( | ) | 
Definition at line 672 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getGroupDN | ( | ) | 
Definition at line 623 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getGroupFilter | ( | ) | 
Definition at line 631 of file class.ilLDAPServer.php.
References prepareFilter().
Referenced by create(), toPearAuthArray(), and update().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getGroupMember | ( | ) | 
Definition at line 639 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getGroupName | ( | ) | 
Definition at line 647 of file class.ilLDAPServer.php.
Referenced by create(), getGroupNames(), toPearAuthArray(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getGroupNames | ( | ) | 
Get group names as array.
Definition at line 660 of file class.ilLDAPServer.php.
References $names, and getGroupName().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilLDAPServer::getGroupScope | ( | ) | 
Definition at line 710 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getGroupUserFilter | ( | ) | 
Definition at line 693 of file class.ilLDAPServer.php.
Referenced by create(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get instance by server id.
| type | $a_server_id | 
Definition at line 58 of file class.ilLDAPServer.php.
Referenced by ilAuthUtils\_getMultipleAuthModeOptions(), ilObjAuthSettingsGUI\authSettingsObject(), ilECSCmsCourseMemberCommandQueueHandler\createMember(), ilECSMappingUtils\getAuthModeSelection(), ilAuthModeDetermination\getAuthModeSequence(), ilAuthUtils\getAuthModeTranslation(), ilAuthContainerCAS\handleLDAPDataSource(), ilAuthContainerApache\handleLDAPDataSource(), ilAuthProviderCAS\handleLDAPDataSource(), ilAuthProviderApache\handleLDAPDataSource(), ilObjAuthSettingsGUI\initAuthModeDetermination(), ilLDAPUserSynchronisation\initServer(), ilLDAPRoleAssignmentRule\isGroupMember(), and ilAuthModeDetermination\read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get auth id by auth mode.
| string | $a_auth_mode | 
Definition at line 399 of file class.ilLDAPServer.php.
References AUTH_LDAP.
Referenced by ilAuthUtils\_getAuthMode().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getName | ( | ) | 
Definition at line 531 of file class.ilLDAPServer.php.
References $name.
Referenced by create(), update(), and validate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Get attribute array for pear auth data.
@access private
Definition at line 1053 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getRoleBindDN | ( | ) | 
Definition at line 742 of file class.ilLDAPServer.php.
References $role_bind_dn.
Referenced by create(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getRoleBindPassword | ( | ) | 
Definition at line 750 of file class.ilLDAPServer.php.
References $role_bind_pass.
Referenced by create(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getSearchBase | ( | ) | 
Definition at line 599 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getServerId | ( | ) | 
Definition at line 411 of file class.ilLDAPServer.php.
References $server_id.
Referenced by delete(), getAuthenticationMappingKey(), getPearAtributeArray(), rotateFallbacks(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get auth id by auth mode.
| type | $a_auth_mode | 
Definition at line 372 of file class.ilLDAPServer.php.
Referenced by ilObjAuthSettingsGUI\authSettingsObject(), ilAuthModeDetermination\getAuthModeSequence(), ilAuthUtils\getAuthModeTranslation(), ilObjAuthSettingsGUI\initAuthModeDetermination(), and ilAuthModeDetermination\read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get all server ids @global ilDB $ilDB.
Definition at line 212 of file class.ilLDAPServer.php.
References $ilDB, $query, $res, $row, $server, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjAuthSettingsGUI\getApacheAuthSettingsForm(), and ilECSMappingUtils\getAuthModeSelection().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getUrl | ( | ) | 
Definition at line 476 of file class.ilLDAPServer.php.
References $url.
Referenced by rotateFallbacks(), toPearAuthArray(), and validate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getUrlString | ( | ) | 
Definition at line 497 of file class.ilLDAPServer.php.
Referenced by create(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getUserAttribute | ( | ) | 
Definition at line 607 of file class.ilLDAPServer.php.
Referenced by create(), getPearAtributeArray(), toPearAuthArray(), update(), and validate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getUsernameFilter | ( | ) | 
Definition at line 767 of file class.ilLDAPServer.php.
Referenced by create(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getUserScope | ( | ) | 
Definition at line 718 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::getVersion | ( | ) | 
Definition at line 539 of file class.ilLDAPServer.php.
References DEFAULT_VERSION.
Referenced by create(), toPearAuthArray(), update(), and validate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::isAccountMigrationEnabled | ( | ) | 
enabled account migration
@access public
Definition at line 794 of file class.ilLDAPServer.php.
Referenced by create(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::isActive | ( | ) | 
Definition at line 472 of file class.ilLDAPServer.php.
Referenced by create(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::isActiveReferrer | ( | ) | 
Definition at line 555 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::isActiveTLS | ( | ) | 
Definition at line 563 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), update(), and validate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::isAuthenticationEnabled | ( | ) | 
Check if authentication is enabled.
Definition at line 429 of file class.ilLDAPServer.php.
References $enabled_authentication.
Referenced by create(), getAuthenticationMappingKey(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Check if user auth mode is LDAP.
| type | $a_auth_mode | 
Definition at line 357 of file class.ilLDAPServer.php.
References $GLOBALS, and AUTH_LDAP.
Referenced by ilObjAuthSettingsGUI\authSettingsObject(), and ilObjAuthSettingsGUI\initAuthModeDetermination().
 Here is the caller 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 @global ilDB $ilDB.
| int | $a_auth_mode | 
Definition at line 288 of file class.ilLDAPServer.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilAuthProviderCAS\doAuthentication(), ilCASSettingsGUI\initFormSettings(), ilAuthContainerCAS\loginObserver(), and ilRadiusSettingsGUI\settings().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::isMembershipOptional | ( | ) | 
Definition at line 685 of file class.ilLDAPServer.php.
Referenced by create(), and update().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Create brackets for filters if they do not exist.
@access private
| string | filter | 
Definition at line 1029 of file class.ilLDAPServer.php.
Referenced by getFilter(), and getGroupFilter().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Read server settings.
Definition at line 1076 of file class.ilLDAPServer.php.
References $query, $res, $row, enableAccountMigration(), enableAuthentication(), 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(), toggleActive(), toggleMembershipOptional(), toggleReferrer(), and toggleTLS().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::rotateFallbacks | ( | ) | 
Rotate fallback urls in case of connect timeouts.
Definition at line 70 of file class.ilLDAPServer.php.
References $ilDB, $query, getServerId(), and getUrl().
Referenced by doConnectionCheck().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::setAuthenticationMapping | ( | $a_map | ) | 
Set mapped authentication mapping.
| int | $a_map | 
Definition at line 438 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::setBaseDN | ( | $a_base_dn | ) | 
Definition at line 551 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::setBindingType | ( | $a_type | ) | 
Definition at line 575 of file class.ilLDAPServer.php.
References $a_type, IL_LDAP_BIND_ANONYMOUS, and IL_LDAP_BIND_USER.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::setBindPassword | ( | $a_password | ) | 
Definition at line 595 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::setBindUser | ( | $a_user | ) | 
Definition at line 587 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::setFilter | ( | $a_filter | ) | 
Definition at line 619 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::setGlobalRole | ( | $a_role | ) | 
Definition at line 738 of file class.ilLDAPServer.php.
| ilLDAPServer::setGroupAttribute | ( | $a_value | ) | 
Definition at line 676 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::setGroupDN | ( | $a_value | ) | 
Definition at line 627 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::setGroupFilter | ( | $a_value | ) | 
Definition at line 635 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::setGroupMember | ( | $a_value | ) | 
Definition at line 643 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::setGroupName | ( | $a_value | ) | 
Definition at line 651 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::setGroupScope | ( | $a_value | ) | 
Definition at line 706 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::setGroupUserFilter | ( | $a_filter | ) | 
Definition at line 689 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::setName | ( | $a_name | ) | 
Definition at line 535 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::setRoleBindDN | ( | $a_value | ) | 
Definition at line 746 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::setRoleBindPassword | ( | $a_value | ) | 
Definition at line 754 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::setSearchBase | ( | $a_search_base | ) | 
Definition at line 603 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::setUrl | ( | $a_url | ) | 
Definition at line 480 of file class.ilLDAPServer.php.
References $counter, $url, and $urls.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::setUserAttribute | ( | $a_user_attr | ) | 
Definition at line 611 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::setUsernameFilter | ( | $a_value | ) | 
Definition at line 771 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::setUserScope | ( | $a_value | ) | 
Definition at line 714 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::setVersion | ( | $a_version | ) | 
Definition at line 543 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::toggleActive | ( | $a_status | ) | 
Definition at line 468 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Toggle Data Source.
| int | $a_auth_mode | |
| int | $a_status | 
Definition at line 337 of file class.ilLDAPServer.php.
References $ilDB, $query, and disableDataSourceForAuthMode().
Referenced by ilCASSettingsGUI\save(), and ilRadiusSettingsGUI\save().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::toggleMembershipOptional | ( | $a_status | ) | 
Definition at line 681 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::toggleReferrer | ( | $a_status | ) | 
Definition at line 559 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::toggleTLS | ( | $a_status | ) | 
Definition at line 567 of file class.ilLDAPServer.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilLDAPServer::toPearAuthArray | ( | ) | 
Creates an array of options compatible to PEAR Auth.
Definition at line 967 of file class.ilLDAPServer.php.
References $options, DEBUG, enabledGroupMemberIsDN(), getBaseDN(), getBindingType(), getBindPassword(), getBindUser(), getFilter(), getGroupAttribute(), getGroupDN(), getGroupFilter(), getGroupMember(), getGroupName(), getGroupScope(), getPearAtributeArray(), getSearchBase(), getUrl(), getUserAttribute(), getUserScope(), getVersion(), IL_LDAP_BIND_USER, IL_LDAP_SCOPE_BASE, IL_LDAP_SCOPE_ONE, isActiveReferrer(), and isActiveTLS().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilLDAPServer::update | ( | ) | 
Definition at line 890 of file class.ilLDAPServer.php.
References $ilDB, $query, $res, 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:
 Here is the call graph for this function:| ilLDAPServer::validate | ( | ) | 
Validate user input.
return boolean
Definition at line 805 of file class.ilLDAPServer.php.
References $ilErr, enabledSyncOnLogin(), enabledSyncPerCron(), getBaseDN(), getBindingType(), getBindPassword(), getBindUser(), getName(), getUrl(), getUserAttribute(), getVersion(), IL_LDAP_BIND_USER, and isActiveTLS().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 40 of file class.ilLDAPServer.php.
Referenced by getAuthenticationMapping().
| 
 | private | 
Definition at line 39 of file class.ilLDAPServer.php.
Referenced by isAuthenticationEnabled().
| 
 | private | 
Definition at line 37 of file class.ilLDAPServer.php.
| 
 | staticprivate | 
Definition at line 26 of file class.ilLDAPServer.php.
| 
 | private | 
Definition at line 32 of file class.ilLDAPServer.php.
Referenced by getRoleBindDN().
| 
 | private | 
Definition at line 33 of file class.ilLDAPServer.php.
Referenced by getRoleBindPassword().
| 
 | private | 
Definition at line 34 of file class.ilLDAPServer.php.
Referenced by enabledRoleSynchronization().
| 
 | private | 
Definition at line 36 of file class.ilLDAPServer.php.
Referenced by getServerId().
| const ilLDAPServer::DEBUG = false | 
Definition at line 28 of file class.ilLDAPServer.php.
Referenced by toPearAuthArray().
| const ilLDAPServer::DEFAULT_NETWORK_TIMEOUT = 5 | 
Definition at line 30 of file class.ilLDAPServer.php.
Referenced by ilLDAPQuery\bind().
| const ilLDAPServer::DEFAULT_VERSION = 3 | 
Definition at line 29 of file class.ilLDAPServer.php.
Referenced by getVersion().