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