You are here

function ldap_authentication_user_login_authenticate_validate in Lightweight Directory Access Protocol (LDAP) 8.2

Same name and namespace in other branches
  1. 8.4 ldap_authentication/ldap_authentication.module \ldap_authentication_user_login_authenticate_validate()
  2. 8.3 ldap_authentication/ldap_authentication.module \ldap_authentication_user_login_authenticate_validate()
  3. 7.2 ldap_authentication/ldap_authentication.module \ldap_authentication_user_login_authenticate_validate()
  4. 7 ldap_authentication/ldap_authentication.module \ldap_authentication_user_login_authenticate_validate()

validate function for user logon forms.

1 call to ldap_authentication_user_login_authenticate_validate()
ldap_sso_user_login_sso in ldap_sso/ldap_sso.module
A proxy function for the actual authentication routine. This is in place so various implementations of grabbing NTLM credentials can be used and selected from an administration page. This is the real gatekeeper since this assumes that any NTLM…
1 string reference to 'ldap_authentication_user_login_authenticate_validate'
_ldap_authentication_login_form_alter in ldap_authentication/ldap_authentication.inc
helper function for ldap_authn_form_user_login_block_alter and ldap_authn_form_user_login_alter

File

ldap_authentication/ldap_authentication.module, line 369
This module injects itself into Drupal's Authentication stack.

Code

function ldap_authentication_user_login_authenticate_validate($form, &$form_state, $return_user = FALSE) {
  ldap_servers_module_load_include('inc', 'ldap_authentication', 'ldap_authentication');
  return _ldap_authentication_user_login_authenticate_validate($form_state, $return_user);
}