ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 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 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() |
Definition at line 24 of file class.ilLDAPServer.php.
ilLDAPServer::__construct | ( | $a_server_id = 0 | ) |
Definition at line 42 of file class.ilLDAPServer.php.
References $ilDB, $lng, and read().
|
static |
Get active server list.
Definition at line 105 of file class.ilLDAPServer.php.
References $ilDB, $query, $res, $row, and array.
Referenced by ilAuthUtils\_getActiveAuthModes(), _getFirstActiveServer(), ilAuthUtils\_getMultipleAuthModeOptions(), _getPasswordServers(), ilAuthUtils\_hasMultipleAuthenticationMethods(), ilAuthUtils\_isExternalAccountEnabled(), ilUserImportParser\importBeginTag(), ilAuthModeDetermination\read(), and ilUserImportParser\verifyBeginTag().
|
static |
Get list of all configured servers.
Definition at line 241 of file class.ilLDAPServer.php.
References $ilDB, $query, $res, $row, $server, and array.
Referenced by ilLDAPServerTableGUI\importData().
|
static |
Get list of acticve servers with option 'SyncCron'.
Definition at line 126 of file class.ilLDAPServer.php.
References $ilDB, $query, $res, $row, and array.
Referenced by ilLDAPCronSynchronization\run().
|
static |
Get first active server.
Definition at line 185 of file class.ilLDAPServer.php.
References _getActiveServerList().
Referenced by ilAuthContainerLDAP\__construct(), ilECSCmsCourseMemberCommandQueueHandler\createMember(), and ilAuthLoginPageEditorGUI\initLoginForm().
|
static |
Definition at line 262 of file class.ilLDAPServer.php.
References _getServerList().
|
static |
Checks whether password synchronistation is enabled for an user.
public
int | user_id |
Definition at line 174 of file class.ilLDAPServer.php.
References _getActiveServerList().
|
static |
Check whether there if there is an active server with option role_sync_active.
public
Definition at line 150 of file class.ilLDAPServer.php.
References $ilDB, $query, $res, $row, and array.
Referenced by ilLDAPRoleGroupMapping\initServers().
|
static |
Get list of all configured servers.
Definition at line 200 of file class.ilLDAPServer.php.
References $ilDB, $query, $res, $row, and array.
Referenced by ilAuthUtils\_getAllAuthModes(), _getFirstServer(), and ilLDAPSettingsGUI\setSubTabs().
|
static |
Check if ldap module is installed.
Definition at line 95 of file class.ilLDAPServer.php.
Referenced by ilLDAPSettingsGUI\serverList().
ilLDAPServer::create | ( | ) |
Definition at line 876 of file class.ilLDAPServer.php.
References $ilDB, $query, $res, array, 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().
ilLDAPServer::delete | ( | ) |
delete
Definition at line 980 of file class.ilLDAPServer.php.
References $query, $res, ilLDAPAttributeMapping\_delete(), ilLDAPRoleGroupMappingSettings\_deleteByServerId(), ilLDAPRoleAssignmentRule\_getRules(), and getServerId().
|
static |
Disable data source.
Definition at line 331 of file class.ilLDAPServer.php.
Referenced by ilRadiusSettingsGUI\save(), and ilCASSettingsGUI\save().
ilLDAPServer::doConnectionCheck | ( | ) |
Check ldap connection and do a fallback to the next server if no connection is possible.
public
Definition at line 532 of file class.ilLDAPServer.php.
References $query, $url, array, ilLoggerFactory\getLogger(), IL_LDAP_BIND_TEST, and rotateFallbacks().
Referenced by ilAuthContainerApache\forceCreation().
ilLDAPServer::enableAccountMigration | ( | $a_status | ) |
Enable account migration.
public
bool | status |
Definition at line 823 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::enableAuthentication | ( | $a_status | ) |
Enable authentication for this ldap server.
bool | $a_status |
Definition at line 438 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::enabledGroupMemberIsDN | ( | ) |
Definition at line 738 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), and update().
ilLDAPServer::enabledRoleSynchronization | ( | ) |
Definition at line 798 of file class.ilLDAPServer.php.
References $role_sync_active.
Referenced by create(), and update().
ilLDAPServer::enabledSyncOnLogin | ( | ) |
Definition at line 762 of file class.ilLDAPServer.php.
Referenced by create(), getPearAtributeArray(), update(), and validate().
ilLDAPServer::enabledSyncPerCron | ( | ) |
Definition at line 770 of file class.ilLDAPServer.php.
Referenced by create(), update(), and validate().
ilLDAPServer::enableGroupMemberIsDN | ( | $a_value | ) |
Definition at line 742 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::enableRoleSynchronization | ( | $a_value | ) |
Definition at line 802 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::enableSyncOnLogin | ( | $a_value | ) |
Definition at line 766 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::enableSyncPerCron | ( | $a_value | ) |
Definition at line 774 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::getAuthenticationMapping | ( | ) |
Get authentication mode that is mapped.
Definition at line 465 of file class.ilLDAPServer.php.
References $authentication_mapping.
Referenced by create(), getAuthenticationMappingKey(), and update().
ilLDAPServer::getAuthenticationMappingKey | ( | ) |
Get authentication mapping key Default is ldap.
Definition at line 475 of file class.ilLDAPServer.php.
References ilAuthUtils\_getAuthModeName(), getAuthenticationMapping(), and isAuthenticationEnabled().
Referenced by ilLDAPCronSynchronization\deactivateUsers().
|
static |
get auth mode by key
type | $a_auth_key |
Definition at line 401 of file class.ilLDAPServer.php.
References array.
Referenced by ilAuthUtils\_getAuthModeName().
|
static |
Definition at line 274 of file class.ilLDAPServer.php.
References $ilDB, $query, $res, $row, array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilCASSettingsGUI\initFormSettings(), and ilRadiusSettingsGUI\settings().
ilLDAPServer::getBaseDN | ( | ) |
Definition at line 574 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), update(), and validate().
ilLDAPServer::getBindingType | ( | ) |
Definition at line 598 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), update(), and validate().
ilLDAPServer::getBindPassword | ( | ) |
Definition at line 621 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), update(), and validate().
ilLDAPServer::getBindUser | ( | ) |
Definition at line 613 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), update(), and validate().
|
static |
Definition at line 314 of file class.ilLDAPServer.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjAuthSettingsGUI\getApacheAuthSettingsForm(), ilAuthProviderCAS\handleLDAPDataSource(), ilAuthContainerCAS\handleLDAPDataSource(), ilAuthContainerRadius\handleLDAPDataSource(), ilCASSettingsGUI\initFormSettings(), and ilRadiusSettingsGUI\settings().
ilLDAPServer::getFilter | ( | ) |
Definition at line 645 of file class.ilLDAPServer.php.
References prepareFilter().
Referenced by create(), toPearAuthArray(), and update().
ilLDAPServer::getGroupAttribute | ( | ) |
Definition at line 712 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), and update().
ilLDAPServer::getGroupDN | ( | ) |
Definition at line 653 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), and update().
ilLDAPServer::getGroupFilter | ( | ) |
Definition at line 661 of file class.ilLDAPServer.php.
References prepareFilter().
Referenced by create(), toPearAuthArray(), and update().
ilLDAPServer::getGroupMember | ( | ) |
Definition at line 669 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), and update().
ilLDAPServer::getGroupName | ( | ) |
Definition at line 677 of file class.ilLDAPServer.php.
Referenced by create(), getGroupNames(), toPearAuthArray(), and update().
ilLDAPServer::getGroupNames | ( | ) |
Get group names as array.
public
Definition at line 692 of file class.ilLDAPServer.php.
References $names, array, and getGroupName().
ilLDAPServer::getGroupScope | ( | ) |
Definition at line 750 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), and update().
ilLDAPServer::getGroupUserFilter | ( | ) |
Definition at line 733 of file class.ilLDAPServer.php.
Referenced by create(), and update().
|
static |
Get instance by server id.
type | $a_server_id |
Definition at line 58 of file class.ilLDAPServer.php.
Referenced by ilAuthContainerLDAP\__construct(), ilAuthUtils\_getMultipleAuthModeOptions(), ilObjAuthSettingsGUI\authSettingsObject(), ilECSCmsCourseMemberCommandQueueHandler\createMember(), ilECSMappingUtils\getAuthModeSelection(), ilAuthModeDetermination\getAuthModeSequence(), ilAuthUtils\getAuthModeTranslation(), ilAuthProviderCAS\handleLDAPDataSource(), ilAuthContainerCAS\handleLDAPDataSource(), ilAuthContainerRadius\handleLDAPDataSource(), ilAuthProviderApache\handleLDAPDataSource(), ilAuthContainerApache\handleLDAPDataSource(), ilObjAuthSettingsGUI\initAuthModeDetermination(), ilLDAPUserSynchronisation\initServer(), ilLDAPRoleAssignmentRule\isGroupMember(), and ilAuthModeDetermination\read().
|
static |
Get auth id by auth mode.
string | $a_auth_mode |
Definition at line 416 of file class.ilLDAPServer.php.
References array, and AUTH_LDAP.
Referenced by ilAuthUtils\_getAuthMode().
ilLDAPServer::getName | ( | ) |
Definition at line 558 of file class.ilLDAPServer.php.
Referenced by create(), update(), and validate().
|
private |
Get attribute array for pear auth data.
private
Definition at line 1106 of file class.ilLDAPServer.php.
References ilLDAPAttributeMapping\_getInstanceByServerId(), array, enabledSyncOnLogin(), ilLDAPRoleAssignmentRules\getAttributeNames(), getServerId(), and getUserAttribute().
Referenced by toPearAuthArray().
ilLDAPServer::getRoleBindDN | ( | ) |
Definition at line 782 of file class.ilLDAPServer.php.
References $role_bind_dn.
Referenced by create(), and update().
ilLDAPServer::getRoleBindPassword | ( | ) |
Definition at line 790 of file class.ilLDAPServer.php.
References $role_bind_pass.
Referenced by create(), and update().
ilLDAPServer::getSearchBase | ( | ) |
Definition at line 629 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), and update().
ilLDAPServer::getServerId | ( | ) |
Definition at line 429 of file class.ilLDAPServer.php.
References $server_id.
Referenced by delete(), getPearAtributeArray(), rotateFallbacks(), and update().
|
static |
Get auth id by auth mode.
type | $a_auth_mode |
Definition at line 387 of file class.ilLDAPServer.php.
Referenced by ilAuthUtils\_initAuth(), ilObjAuthSettingsGUI\authSettingsObject(), ilAuthContainerMultiple\fetchData(), ilAuthModeDetermination\getAuthModeSequence(), ilAuthUtils\getAuthModeTranslation(), ilObjAuthSettingsGUI\initAuthModeDetermination(), and ilAuthModeDetermination\read().
|
static |
Get all server ids ilDB $ilDB.
Definition at line 219 of file class.ilLDAPServer.php.
References $ilDB, $query, $res, $row, $server, array, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjAuthSettingsGUI\getApacheAuthSettingsForm(), and ilECSMappingUtils\getAuthModeSelection().
ilLDAPServer::getUrl | ( | ) |
Definition at line 495 of file class.ilLDAPServer.php.
References $url.
Referenced by rotateFallbacks(), toPearAuthArray(), and validate().
ilLDAPServer::getUrlString | ( | ) |
Definition at line 520 of file class.ilLDAPServer.php.
Referenced by create(), and update().
ilLDAPServer::getUserAttribute | ( | ) |
Definition at line 637 of file class.ilLDAPServer.php.
Referenced by create(), getPearAtributeArray(), toPearAuthArray(), update(), and validate().
ilLDAPServer::getUsernameFilter | ( | ) |
Definition at line 807 of file class.ilLDAPServer.php.
Referenced by create(), and update().
ilLDAPServer::getUserScope | ( | ) |
Definition at line 758 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), and update().
ilLDAPServer::getVersion | ( | ) |
Definition at line 566 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), update(), and validate().
ilLDAPServer::isAccountMigrationEnabled | ( | ) |
enabled account migration
public
Definition at line 834 of file class.ilLDAPServer.php.
Referenced by create(), and update().
ilLDAPServer::isActive | ( | ) |
Definition at line 491 of file class.ilLDAPServer.php.
Referenced by create(), and update().
ilLDAPServer::isActiveReferrer | ( | ) |
Definition at line 582 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), and update().
ilLDAPServer::isActiveTLS | ( | ) |
Definition at line 590 of file class.ilLDAPServer.php.
Referenced by create(), toPearAuthArray(), update(), and validate().
ilLDAPServer::isAuthenticationEnabled | ( | ) |
Check if authentication is enabled.
Definition at line 447 of file class.ilLDAPServer.php.
References $enabled_authentication.
Referenced by create(), getAuthenticationMappingKey(), and update().
|
static |
Check if user auth mode is LDAP.
type | $a_auth_mode |
Definition at line 371 of file class.ilLDAPServer.php.
References $GLOBALS, and AUTH_LDAP.
Referenced by ilObjAuthSettingsGUI\authSettingsObject(), and ilObjAuthSettingsGUI\initAuthModeDetermination().
|
static |
Check if a data source is active for a specific auth mode ilDB $ilDB.
int | $a_auth_mode |
Definition at line 299 of file class.ilLDAPServer.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilAuthProviderCAS\doAuthentication(), ilCASSettingsGUI\initFormSettings(), ilAuthContainerCAS\loginObserver(), ilAuthContainerRadius\loginObserver(), and ilRadiusSettingsGUI\settings().
ilLDAPServer::isMembershipOptional | ( | ) |
Definition at line 725 of file class.ilLDAPServer.php.
Referenced by create(), and update().
|
private |
Create brackets for filters if they do not exist.
private
string | filter |
Definition at line 1079 of file class.ilLDAPServer.php.
Referenced by getFilter(), and getGroupFilter().
|
private |
Read server settings.
Definition at line 1132 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().
ilLDAPServer::rotateFallbacks | ( | ) |
Rotate fallback urls in case of connect timeouts.
Definition at line 71 of file class.ilLDAPServer.php.
References $ilDB, $query, getServerId(), and getUrl().
Referenced by doConnectionCheck().
ilLDAPServer::setAuthenticationMapping | ( | $a_map | ) |
Set mapped authentication mapping.
int | $a_map |
Definition at line 456 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::setBaseDN | ( | $a_base_dn | ) |
Definition at line 578 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::setBindingType | ( | $a_type | ) |
Definition at line 602 of file class.ilLDAPServer.php.
References $a_type, IL_LDAP_BIND_ANONYMOUS, and IL_LDAP_BIND_USER.
Referenced by read().
ilLDAPServer::setBindPassword | ( | $a_password | ) |
Definition at line 625 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::setBindUser | ( | $a_user | ) |
Definition at line 617 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::setFilter | ( | $a_filter | ) |
Definition at line 649 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::setGlobalRole | ( | $a_role | ) |
Definition at line 778 of file class.ilLDAPServer.php.
ilLDAPServer::setGroupAttribute | ( | $a_value | ) |
Definition at line 716 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::setGroupDN | ( | $a_value | ) |
Definition at line 657 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::setGroupFilter | ( | $a_value | ) |
Definition at line 665 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::setGroupMember | ( | $a_value | ) |
Definition at line 673 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::setGroupName | ( | $a_value | ) |
Definition at line 681 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::setGroupScope | ( | $a_value | ) |
Definition at line 746 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::setGroupUserFilter | ( | $a_filter | ) |
Definition at line 729 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::setName | ( | $a_name | ) |
Definition at line 562 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::setRoleBindDN | ( | $a_value | ) |
Definition at line 786 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::setRoleBindPassword | ( | $a_value | ) |
Definition at line 794 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::setSearchBase | ( | $a_search_base | ) |
Definition at line 633 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::setUrl | ( | $a_url | ) |
Definition at line 499 of file class.ilLDAPServer.php.
References $counter, and $url.
Referenced by read().
ilLDAPServer::setUserAttribute | ( | $a_user_attr | ) |
Definition at line 641 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::setUsernameFilter | ( | $a_value | ) |
Definition at line 811 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::setUserScope | ( | $a_value | ) |
Definition at line 754 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::setVersion | ( | $a_version | ) |
Definition at line 570 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::toggleActive | ( | $a_status | ) |
Definition at line 487 of file class.ilLDAPServer.php.
Referenced by read().
|
static |
Toggle Data Source.
int | $a_auth_mode | |
int | $a_status |
Definition at line 350 of file class.ilLDAPServer.php.
Referenced by ilRadiusSettingsGUI\save(), and ilCASSettingsGUI\save().
ilLDAPServer::toggleMembershipOptional | ( | $a_status | ) |
Definition at line 721 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::toggleReferrer | ( | $a_status | ) |
Definition at line 586 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::toggleTLS | ( | $a_status | ) |
Definition at line 594 of file class.ilLDAPServer.php.
Referenced by read().
ilLDAPServer::toPearAuthArray | ( | ) |
Creates an array of options compatible to PEAR Auth.
Definition at line 1012 of file class.ilLDAPServer.php.
References $options, array, 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().
ilLDAPServer::update | ( | ) |
Definition at line 932 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().
ilLDAPServer::validate | ( | ) |
Validate user input.
Definition at line 845 of file class.ilLDAPServer.php.
References $ilErr, enabledSyncOnLogin(), enabledSyncPerCron(), getBaseDN(), getBindingType(), getBindPassword(), getBindUser(), getName(), getUrl(), getUserAttribute(), getVersion(), IL_LDAP_BIND_USER, and isActiveTLS().
|
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.
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.