ldapsdk  0.0.1
LDAPRebindAuth.h
Go to the documentation of this file.
1 // $OpenLDAP$
2 /*
3  * Copyright 2000-2011 The OpenLDAP Foundation, All Rights Reserved.
4  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5  */
6 
7 #ifndef LDAP_REBIND_AUTH_H
8 #define LDAP_REBIND_AUTH_H
9 
10 #include<string>
11 
22  public:
27  LDAPRebindAuth(const std::string& dn="", const std::string& pwd="");
28 
32  LDAPRebindAuth(const LDAPRebindAuth& lra);
33 
37  virtual ~LDAPRebindAuth();
38 
42  const std::string& getDN() const;
43 
47  const std::string& getPassword() const;
48 
49  private:
50  std::string m_dn;
51  std::string m_password;
52 };
53 
54 #endif //LDAP_REBIND_AUTH_H
55