ldapsdk 0.0.1
|
00001 // $OpenLDAP$ 00002 /* 00003 * Copyright 2000, OpenLDAP Foundation, All Rights Reserved. 00004 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file 00005 */ 00006 00007 #ifndef LDAP_REBIND_AUTH_H 00008 #define LDAP_REBIND_AUTH_H 00009 00010 #include<string> 00011 00021 class LDAPRebindAuth{ 00022 public: 00027 LDAPRebindAuth(const std::string& dn="", const std::string& pwd=""); 00028 00032 LDAPRebindAuth(const LDAPRebindAuth& lra); 00033 00037 virtual ~LDAPRebindAuth(); 00038 00042 const std::string& getDN() const; 00043 00047 const std::string& getPassword() const; 00048 00049 private: 00050 std::string m_dn; 00051 std::string m_password; 00052 }; 00053 00054 #endif //LDAP_REBIND_AUTH_H 00055