/***************************************************************************
- * Copyright (C) 2005-2015 by the Quassel Project *
+ * Copyright (C) 2005-2016 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
*
*/
-#ifndef LDAPAUTHENTICATOR_H
-#define LDAPAUTHENTICATOR_H
+#pragma once
#include "authenticator.h"
UserId validateUser(const QString &user, const QString &password);
protected:
- virtual void setConnectionProperties(const QVariantMap &properties);
+ virtual void setAuthProperties(const QVariantMap &properties);
bool ldapConnect();
void ldapDisconnect();
bool ldapAuth(const QString &username, const QString &password);
LDAP *_connection;
};
-
-
-#endif