openldap/contrib/ldapc++/src/LDAPBindRequest.h
Kurt Zeilenga 84d0e26234 Initial check of the LDAP C++ SDK written by Ralf Haferkamp <rhafer@suse.de>
Copyright notices have been adjusted per on-file OpenLDAP Contributor
Assignment Agreement.
2000-09-01 18:46:32 +00:00

28 lines
792 B
C++

/*
* Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
#ifndef LDAP_BIND_REQUEST_H
#define LDAP_BIND_REQUEST_H
#include "LDAPRequest.h"
class LDAPBindRequest : LDAPRequest {
private:
char *m_dn;
BerValue *m_cred;
char *m_mech;
public:
LDAPBindRequest(const LDAPBindRequest& req);
//just for simple authentication
LDAPBindRequest(const char *dn, const char *passwd,
const LDAPAsynConnection *connect, const LDAPConstraints *cons,
bool isReferral=false);
virtual ~LDAPBindRequest();
virtual LDAPMessageQueue *sendRequest();
virtual LDAPRequest* followReferral(LDAPUrlList *urls);
};
#endif //LDAP_BIND_REQUEST_H