• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

KLDAP Library

KLDAP::LdapServer

KLDAP::LdapServer Class Reference

#include <ldapserver.h>

List of all members.


Detailed Description

This class holds various parameters about an LDAP server, and the LDAP query parameters.

Definition at line 35 of file ldapserver.h.


Public Types

enum  Security { None, TLS, SSL }
enum  Auth { Anonymous, Simple, SASL }

Public Member Functions

 LdapServer (const LdapUrl &url)
 LdapServer (const LdapServer &that)
LdapServer & operator= (const LdapServer &that)
void clear ()
QString host () const
int port () const
LdapDN baseDn () const
QString user () const
QString bindDn () const
QString realm () const
QString password () const
int version () const
Security security () const
Auth auth () const
QString mech () const
int timeout () const
LdapUrl::Scope scope () const
int timeLimit () const
int sizeLimit () const
int pageSize () const
QString filter () const
void setHost (const QString &host)
void setPort (int port)
void setBaseDn (const LdapDN &baseDn)
void setUser (const QString &user)
void setBindDn (const QString &bindDn)
void setRealm (const QString &realm)
void setPassword (const QString &password)
void setVersion (int version)
void setSecurity (Security security)
void setAuth (Auth auth)
void setMech (const QString &mech)
void setTimeout (int timeout)
void setScope (LdapUrl::Scope scope)
void setTimeLimit (int timelimit)
void setSizeLimit (int sizelimit)
void setPageSize (int pagesize)
void setFilter (const QString &filter)
LdapUrl url () const
void setUrl (const LdapUrl &url)

Member Function Documentation

void LdapServer::clear (  ) 

Clears all server settings.

Definition at line 81 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 343 of file ldapserver.cpp.

void LdapServer::setUrl ( const LdapUrl &  url  ) 

Sets the server parameters from an RFC2255 compliant LDAP Url.

Definition at line 262 of file ldapserver.cpp.


The documentation for this class was generated from the following files:
  • ldapserver.h
  • ldapserver.cpp

KLDAP Library

Skip menu "KLDAP Library"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal