QString LdapAuthenticator::backendId() const
{
- // We identify the backend to use for the monolithic core by its displayname.
+ // We identify the backend to use for the monolithic core by this identifier.
// so only change this string if you _really_ have to and make sure the core
// setup for the mono client still works ;)
return QString("LDAP");
}
+QString LdapAuthenticator::displayName() const
+{
+ return tr("LDAP");
+}
+
+
QString LdapAuthenticator::description() const
{
return tr("Authenticate users using an LDAP server.");
}
-void LdapAuthenticator::setConnectionProperties(const QVariantMap &properties)
+void LdapAuthenticator::setAuthProperties(const QVariantMap &properties)
{
_hostName = properties["Hostname"].toString();
_port = properties["Port"].toInt();
bool LdapAuthenticator::setup(const QVariantMap &settings)
{
- setConnectionProperties(settings);
+ setAuthProperties(settings);
bool status = ldapConnect();
return status;
}
Authenticator::State LdapAuthenticator::init(const QVariantMap &settings)
{
- setConnectionProperties(settings);
+ setAuthProperties(settings);
bool status = ldapConnect();
if (!status) {