Exemplo n.º 1
0
 /**
  * Validate Ldap User with given Credientials with netid and password
  * @param  array $credentials
  * @return bool
  */
 protected function validateLdapCredentials(array $credentials)
 {
     $ldap = new NuLdap();
     $netid = $credentials[$this->netidKey];
     $password = $credentials['password'];
     return $ldap->validate($netid, $password);
 }