You are here

protected function LoginValidatorSso::bindToServerAsUser in Lightweight Directory Access Protocol (LDAP) 8.4

Bind to server.

Return value

int Success or failure result.

Overrides LoginValidatorBase::bindToServerAsUser

File

ldap_authentication/src/Controller/LoginValidatorSso.php, line 129

Class

LoginValidatorSso
Handles the actual testing of credentials and authentication of users.

Namespace

Drupal\ldap_authentication\Controller

Code

protected function bindToServerAsUser() : int {
  $this->logger
    ->error('Trying to use SSO with user bind method.');
  return self::AUTHENTICATION_FAILURE_CREDENTIALS;
}