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:160
void setSecurity(Security mode)
Sets the security mode of the LDAP connection.
Definition ldapserver.cpp:255
void setSizeLimit(int sizelimit)
Sets the size limit of the LDAP connection.
Definition ldapserver.cpp:230
void setTLSCACertFile(const QString &caCertFile)
Sets the CA certificate file for TLS/SSL connections.
Definition ldapserver.cpp:270
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:265
LdapUrl url() const
Returns the server parameters as an RFC2255 compliant LDAP Url.
Definition ldapserver.cpp:368
QString filter() const
Returns the filter string of the LDAP connection.
Definition ldapserver.cpp:130
void setVersion(int version)
Sets the protocol version of the LDAP connection.
Definition ldapserver.cpp:250
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:220
void setScope(LdapUrl::Scope scope)
Sets the search scope of the LDAP connection.
Definition ldapserver.cpp:245
void setTimeLimit(int limit)
Sets the time limit of the LDAP connection.
Definition ldapserver.cpp:225
void setRealm(const QString &realm)
Sets the realm of the LDAP connection.
Definition ldapserver.cpp:215
int version() const
Returns the protocol version of the LDAP connection.
Definition ldapserver.cpp:155
void setUrl(const LdapUrl &url)
Sets the server parameters from an RFC2255 compliant LDAP url.
Definition ldapserver.cpp:285
void setAuth(Auth authentication)
Sets the authentication method of the LDAP connection.
Definition ldapserver.cpp:260
QString tlsCACertFile() const
Returns the CA certificate file used for TLS/SSL connections.
Definition ldapserver.cpp:175
void setBindDn(const QString &bindDn)
Sets the bindDn of the LDAP connection.
Definition ldapserver.cpp:210
void setBaseDn(const LdapDN &baseDn)
Sets the baseDn of the LDAP connection.
Definition ldapserver.cpp:200
LdapServer & operator=(const LdapServer &other)
Overwrites the values of the LDAP server object with the values from an other object.
Definition ldapserver.cpp:62
Auth auth() const
Returns the authentication method of the LDAP connection.
Definition ldapserver.cpp:165
LdapUrl::Scope scope() const
Returns the search scope of the LDAP connection.
Definition ldapserver.cpp:135
void setFilter(const QString &filter)
Sets the filter string of the LDAP connection.
Definition ldapserver.cpp:240
TLSRequireCertificate tlsRequireCertificate() const
Returns the certificate require mode for TLS/SSL connections.
Definition ldapserver.cpp:170
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
QDebug operator<<(QDebug dbg, const PerceptualColor::MultiSpinBoxSection &value)
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 Mon Nov 18 2024 12:16:07 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
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.