openldap/contrib/ldapc++/src/LDAPRebindAuth.h
Ralf Haferkamp 1ab5360fee - some new Classes for sync. LDAP operations
- Classes for handling Controls
2000-10-03 18:50:44 +00:00

26 lines
563 B
C++

/*
* Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
#ifndef LDAP_REBIND_AUTH_H
#define LDAP_REBIND_AUTH_H
#include<string>
class LDAPRebindAuth{
public:
LDAPRebindAuth(const string& dn="", const string& pwd="");
LDAPRebindAuth(const LDAPRebindAuth& lra);
virtual ~LDAPRebindAuth();
const string& getDN() const;
const string& getPassword() const;
private:
string m_dn;
string m_password;
};
#endif //LDAP_REBIND_AUTH_H