ldapsdk
0.0.1
|
This class represent Authenication information for the case that the library is chasing referrals. More...
#include <LDAPRebindAuth.h>
Public Member Functions | |
LDAPRebindAuth (const std::string &dn="", const std::string &pwd="") | |
LDAPRebindAuth (const LDAPRebindAuth &lra) | |
Copy-constructor. More... | |
virtual | ~LDAPRebindAuth () |
Destructor. More... | |
const std::string & | getDN () const |
const std::string & | getPassword () const |
This class represent Authenication information for the case that the library is chasing referrals.
The LDAPRebind::getRebindAuth() method returns an object of this type. And the library uses it to authentication to the destination server of a
referral.
LDAPRebindAuth::LDAPRebindAuth | ( | const std::string & | dn = "" , |
const std::string & | pwd = "" |
||
) |
dn | The DN that should be used for the authentication |
pwd | The password that belongs to the DN |
LDAPRebindAuth::LDAPRebindAuth | ( | const LDAPRebindAuth & | lra | ) |
Copy-constructor.
References DEBUG, and LDAP_DEBUG_CONSTRUCT.
|
virtual |
Destructor.
References DEBUG, and LDAP_DEBUG_DESTROY.
const string & LDAPRebindAuth::getDN | ( | ) | const |
References DEBUG, and LDAP_DEBUG_TRACE.
Referenced by LDAPAsynConnection::referralConnect().
const string & LDAPRebindAuth::getPassword | ( | ) | const |
References DEBUG, and LDAP_DEBUG_TRACE.
Referenced by LDAPAsynConnection::referralConnect().