mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 23:59:34 -05:00
27 lines
563 B
C
27 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
|
||
|
|
|