function ldap_help_get_ldap_authentication in Lightweight Directory Access Protocol (LDAP) 7
Same name and namespace in other branches
- 8.2 ldap_help/ldap_help.status.inc \ldap_help_get_ldap_authentication()
- 7.2 ldap_help/ldap_help.status.inc \ldap_help_get_ldap_authentication()
1 call to ldap_help_get_ldap_authentication()
- ldap_help_status in ldap_help/
ldap_help.status.inc - @file status file for ldaphelp module
File
- ldap_help/
ldap_help.status.inc, line 319 - status file for ldaphelp module
Code
function ldap_help_get_ldap_authentication() {
ldap_server_module_load_include('php', 'ldap_authentication', 'LdapAuthenticationConfAdmin.class');
$auth_conf = new LdapAuthenticationConfAdmin();
$conf_form = $auth_conf
->drupalForm();
$items['logon']['authenticationMode'] = 'string';
$items['logon']['authenticationServers'] = 'checkbox';
$items['restrictions']['allowOnlyIfTextInDn'] = 'string';
$items['restrictions']['excludeIfTextInDn'] = 'string';
$items['restrictions']['allowTestPhp'] = 'string';
$items['restrictions']['excludeIfNoAuthorizations '] = 'checkbox';
$items['drupal_accounts']['loginConflictResolve'] = 'radios';
$items['drupal_accounts']['acctCreation'] = 'radios';
$items['email']['emailOption'] = 'radios';
$items['email']['emailUpdate'] = 'radios';
$items['sso']['ssoRemoteUserStripDomainName'] = 'checkbox';
$items['sso']['seamlessLogin'] = 'checkbox';
$items['sso']['cookieExpire '] = 'select';
$items['sso']['ldapImplementation'] = 'select';
$status = ldap_help_parse_form($conf_form, $items);
return $status;
}