KLDAP Library
KLDAP::LdapServer Class Reference
This class holds various parameters about an LDAP server, and the LDAP query parameters. More...
#include <ldapserver.h>
Public Types | |
| enum | Auth { Anonymous, Simple, SASL } |
| enum | Security { None, TLS, SSL } |
Public Member Functions | |
| Auth | auth () const |
| LdapDN | baseDn () const |
| QString | bindDn () const |
| void | clear () |
| QString | filter () const |
| QString | host () const |
| LdapServer (const LdapServer &that) | |
| LdapServer (const LdapUrl &url) | |
| QString | mech () const |
| LdapServer & | operator= (const LdapServer &that) |
| int | pageSize () const |
| QString | password () const |
| int | port () const |
| QString | realm () const |
| LdapUrl::Scope | scope () const |
| Security | security () const |
| void | setAuth (Auth auth) |
| void | setBaseDn (const LdapDN &baseDn) |
| void | setBindDn (const QString &bindDn) |
| void | setFilter (const QString &filter) |
| void | setHost (const QString &host) |
| void | setMech (const QString &mech) |
| void | setPageSize (int pagesize) |
| void | setPassword (const QString &password) |
| void | setPort (int port) |
| void | setRealm (const QString &realm) |
| void | setScope (LdapUrl::Scope scope) |
| void | setSecurity (Security security) |
| void | setSizeLimit (int sizelimit) |
| void | setTimeLimit (int timelimit) |
| void | setTimeout (int timeout) |
| void | setUrl (const LdapUrl &url) |
| void | setUser (const QString &user) |
| void | setVersion (int version) |
| int | sizeLimit () const |
| int | timeLimit () const |
| int | timeout () const |
| LdapUrl | url () const |
| QString | user () const |
| int | version () const |
Detailed Description
This class holds various parameters about an LDAP server, and the LDAP query parameters.
Definition at line 35 of file ldapserver.h.
Member Function Documentation
| void LdapServer::clear | ( | ) |
Clears all server settings.
Definition at line 81 of file ldapserver.cpp.
| void LdapServer::setUrl | ( | const LdapUrl & | url | ) |
Sets the server parameters from an RFC2255 compliant LDAP Url.
Definition at line 266 of file ldapserver.cpp.
| LdapUrl LdapServer::url | ( | ) | const |
Returns the server parameters as an RFC2255 compliant LDAP Url.
The URL extensions which are supported: Standard: bindname KLDAP extensions: x-tls, x-version, x-sasl, x-mech, x-realm, x-sizelimit, x-timelimit, x-pagesize, x-timeout
Definition at line 349 of file ldapserver.cpp.
The documentation for this class was generated from the following files:
KDE 4.3 API Reference