ldapsdk  0.0.1
LDAPRebind.h
Go to the documentation of this file.
1 // $OpenLDAP$
2 /*
3  * Copyright 2000-2013 The OpenLDAP Foundation, All Rights Reserved.
4  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5  */
6 
7 #ifndef LDAP_REBIND_H
8 #define LDAP_REBIND_H
9 
10 #include <string>
11 #include <LDAPRebindAuth.h>
12 
20 class LDAPRebind{
21  public:
22  virtual ~LDAPRebind() {}
23  virtual LDAPRebindAuth* getRebindAuth(const std::string& hostname,
24  int port) const = 0;
25 };
26 #endif //LDAP_REBIND_H
27 
virtual LDAPRebindAuth * getRebindAuth(const std::string &hostname, int port) const =0
Just an abstract class to provide a mechnism for rebind to another server when chasing referrals...
Definition: LDAPRebind.h:20
This class represent Authenication information for the case that the library is chasing referrals...
Definition: LDAPRebindAuth.h:21
virtual ~LDAPRebind()
Definition: LDAPRebind.h:22