KLdap
ldapserver.cpp
A class that contains LDAP server connection settings.
Definition ldapserver.h:27
enum { None, TLS, SSL } Security
Describes the encryption settings that can be used for the LDAP connection.
Definition ldapserver.h:61
Security security() const
Returns the security mode of the LDAP connection.
Definition ldapserver.cpp:158
void setSecurity(Security mode)
Sets the security mode of the LDAP connection.
Definition ldapserver.cpp:253
void setSizeLimit(int sizelimit)
Sets the size limit of the LDAP connection.
Definition ldapserver.cpp:228
void setTLSCACertFile(const QString &caCertFile)
Sets the CA certificate file for TLS/SSL connections.
Definition ldapserver.cpp:268
enum { TLSReqCertDefault, TLSReqCertNever, TLSReqCertDemand, TLSReqCertAllow, TLSReqCertTry, TLSReqCertHard, } TLSRequireCertificate
Describes the certificate request and check behaviour for TLS/SSL connections.
Definition ldapserver.h:81
void setTLSRequireCertificate(TLSRequireCertificate reqCert)
Sets the certificate require mode for TLS/SSL connections.
Definition ldapserver.cpp:263
LdapUrl url() const
Returns the server parameters as an RFC2255 compliant LDAP Url.
Definition ldapserver.cpp:366
QString filter() const
Returns the filter string of the LDAP connection.
Definition ldapserver.cpp:128
void setVersion(int version)
Sets the protocol version of the LDAP connection.
Definition ldapserver.cpp:248
enum { Anonymous, Simple, SASL } Auth
Describes the authentication method that can be used for the LDAP connection.
Definition ldapserver.h:71
void setPassword(const QString &password)
Sets the password of the LDAP connection.
Definition ldapserver.cpp:218
void setScope(LdapUrl::Scope scope)
Sets the search scope of the LDAP connection.
Definition ldapserver.cpp:243
void setTimeLimit(int limit)
Sets the time limit of the LDAP connection.
Definition ldapserver.cpp:223
void setRealm(const QString &realm)
Sets the realm of the LDAP connection.
Definition ldapserver.cpp:213
int version() const
Returns the protocol version of the LDAP connection.
Definition ldapserver.cpp:153
void setUrl(const LdapUrl &url)
Sets the server parameters from an RFC2255 compliant LDAP url.
Definition ldapserver.cpp:283
void setAuth(Auth authentication)
Sets the authentication method of the LDAP connection.
Definition ldapserver.cpp:258
QString tlsCACertFile() const
Returns the CA certificate file used for TLS/SSL connections.
Definition ldapserver.cpp:173
void setBindDn(const QString &bindDn)
Sets the bindDn of the LDAP connection.
Definition ldapserver.cpp:208
void setBaseDn(const LdapDN &baseDn)
Sets the baseDn of the LDAP connection.
Definition ldapserver.cpp:198
LdapServer & operator=(const LdapServer &other)
Overwrites the values of the LDAP server object with the values from an other object.
Definition ldapserver.cpp:61
Auth auth() const
Returns the authentication method of the LDAP connection.
Definition ldapserver.cpp:163
LdapUrl::Scope scope() const
Returns the search scope of the LDAP connection.
Definition ldapserver.cpp:133
void setFilter(const QString &filter)
Sets the filter string of the LDAP connection.
Definition ldapserver.cpp:238
TLSRequireCertificate tlsRequireCertificate() const
Returns the certificate require mode for TLS/SSL connections.
Definition ldapserver.cpp:168
void setFilter(const QString &filter)
Sets the filter part of the LDAP url.
Definition ldapurl.cpp:109
void setExtension(const QString &key, const Extension &extension)
Sets the specified extension key with the value and criticality in extension.
bool hasExtension(const QString &extension) const
Returns whether the specified extension exists in the LDAP url.
Definition ldapurl.cpp:115
Extension extension(const QString &extension) const
Returns the specified extension.
Definition ldapurl.cpp:120
KTEXTEDITOR_EXPORT QDebug operator<<(QDebug s, const MovingCursor &cursor)
Security
bool isEmpty() const const
QString host(ComponentFormattingOptions options) const const
QString password(ComponentFormattingOptions options) const const
int port(int defaultPort) const const
QString scheme() const const
void setHost(const QString &host, ParsingMode mode)
void setPassword(const QString &password, ParsingMode mode)
void setPort(int port)
void setScheme(const QString &scheme)
void setUserName(const QString &userName, ParsingMode mode)
QString userName(ComponentFormattingOptions options) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:14:23 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 11 2024 12:14:23 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.