12#include "kldap_core_export.h"
98 void setHost(
const QString &host);
103 [[nodiscard]]
QString host()
const;
110 void setPort(
int port);
115 [[nodiscard]]
int port()
const;
120 void setBaseDn(
const LdapDN &baseDn);
125 [[nodiscard]] LdapDN baseDn()
const;
130 void setUser(
const QString &user);
135 [[nodiscard]]
QString user()
const;
140 void setBindDn(
const QString &bindDn);
145 [[nodiscard]]
QString bindDn()
const;
150 void setRealm(
const QString &realm);
155 [[nodiscard]]
QString realm()
const;
160 void setPassword(
const QString &password);
165 [[nodiscard]]
QString password()
const;
172 void setVersion(
int version);
177 [[nodiscard]]
int version()
const;
184 void setSecurity(Security mode);
189 [[nodiscard]] Security security()
const;
196 void setAuth(Auth authentication);
201 [[nodiscard]] Auth auth()
const;
206 void setTLSRequireCertificate(TLSRequireCertificate reqCert);
211 [[nodiscard]] TLSRequireCertificate tlsRequireCertificate()
const;
216 void setTLSCACertFile(
const QString &caCertFile);
221 [[nodiscard]]
QString tlsCACertFile()
const;
226 void setMech(
const QString &mech);
231 [[nodiscard]]
QString mech()
const;
236 void setTimeout(
int timeout);
241 [[nodiscard]]
int timeout()
const;
256 void setTimeLimit(
int limit);
261 [[nodiscard]]
int timeLimit()
const;
266 void setSizeLimit(
int sizelimit);
271 [[nodiscard]]
int sizeLimit()
const;
276 void setPageSize(
int size);
281 [[nodiscard]]
int pageSize()
const;
291 [[nodiscard]]
QString filter()
const;
296 void setUrl(
const LdapUrl &url);
305 [[nodiscard]]
LdapUrl url()
const;
307 void setCompletionWeight(
int value);
308 [[nodiscard]]
int completionWeight()
const;
313 void setEnablePlasmaActivities(
bool enabled);
314 [[nodiscard]]
bool enablePlasmaActivities()
const;
317 class LdapServerPrivate;
318 std::unique_ptr<LdapServerPrivate>
const d;
A class that contains LDAP server connection settings.
enum { None, TLS, SSL } Security
Describes the encryption settings that can be used for the LDAP connection.
enum { TLSReqCertDefault, TLSReqCertNever, TLSReqCertDemand, TLSReqCertAllow, TLSReqCertTry, TLSReqCertHard, } TLSRequireCertificate
Describes the certificate request and check behaviour for TLS/SSL connections.
enum { Anonymous, Simple, SASL } Auth
Describes the authentication method that can be used for the LDAP connection.
~LdapServer()
Destroys the LDAP server object.
A special url class for LDAP.
enum { Base, One, Sub } Scope
Describes the scope of the LDAP url.
Q_SCRIPTABLE bool setFilter(const QString &filter)
QDebug operator<<(QDebug dbg, const PerceptualColor::MultiSpinBoxSection &value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:07 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.