ldapsdk 0.0.1
LDAPRebindAuth.h
Go to the documentation of this file.
1// $OpenLDAP$
2/*
3 * Copyright 2000-2013 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
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
This class represent Authenication information for the case that the library is chasing referrals.
Definition: LDAPRebindAuth.h:21
const std::string & getDN() const
Definition: LDAPRebindAuth.cpp:32
const std::string & getPassword() const
Definition: LDAPRebindAuth.cpp:37
LDAPRebindAuth(const std::string &dn="", const std::string &pwd="")
virtual ~LDAPRebindAuth()
Destructor.
Definition: LDAPRebindAuth.cpp:28