Security/Firewall/LdapFormLoginListener.php
protected function attemptAuthentication(Request $request)
    {
        $this->validateCsrfToken($request);

        return $this->authenticationManager->authenticate($this->getUsernamePasswordToken($request));
    }
protected function attemptAuthentication(Request $request)
    {
        $this->validateCsrfToken($request);

        return $this->authenticationManager->authenticate($this->getUsernamePasswordToken($request));
    }
{@inheritdoc}