LDAPRebindAuth Class Reference

This class represent Authenication information for the case that the library is chasing referrals. More...

#include <LDAPRebindAuth.h>

List of all members.

Public Member Functions

 LDAPRebindAuth (const std::string &dn="", const std::string &pwd="")
 
Parameters:
dn The DN that should be used for the authentication

 LDAPRebindAuth (const LDAPRebindAuth &lra)
 Copy-constructor.
virtual ~LDAPRebindAuth ()
 Destructor.
const std::string & getDN () const
 
Returns:
The DN that was set in the constructor

const std::string & getPassword () const
 
Returns:
The password that was set in the constructor


Private Attributes

std::string m_dn
std::string m_password


Detailed Description

This class represent Authenication information for the case that the library is chasing referrals.

The LDAPRebind::getRebindAuth() method returns an object of this type. And the library uses it to authentication to the destination server of a referral.

Note:
currently only SIMPLE authentication is supported by the library

Constructor & Destructor Documentation

LDAPRebindAuth::LDAPRebindAuth ( const std::string &  dn = "",
const std::string &  pwd = "" 
)

Parameters:
dn The DN that should be used for the authentication

Parameters:
pwd The password that belongs to the DN

LDAPRebindAuth::LDAPRebindAuth ( const LDAPRebindAuth lra  ) 

Copy-constructor.

LDAPRebindAuth::~LDAPRebindAuth (  )  [virtual]

Destructor.


Member Function Documentation

const string & LDAPRebindAuth::getDN (  )  const

Returns:
The DN that was set in the constructor

const string & LDAPRebindAuth::getPassword (  )  const

Returns:
The password that was set in the constructor


Member Data Documentation

std::string LDAPRebindAuth::m_dn [private]

std::string LDAPRebindAuth::m_password [private]


The documentation for this class was generated from the following files:
Generated on Sat Sep 22 10:21:53 2007 for ldapsdk by  doxygen 1.5.3