]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/src/LDAPRebindAuth.h
- some minor bugfixes
[openldap] / contrib / ldapc++ / src / LDAPRebindAuth.h
index c0441b90d54460953352908ae122611697e947c1..bf6dfa139b8e8186137c072afd1dee14fb033f28 100644 (file)
@@ -8,13 +8,41 @@
 
 #include<string>
 
+/**
+ * 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
+ */
 class LDAPRebindAuth{
     public:
+        /**
+         * @param dn  The DN that should be used for the authentication 
+         * @param pwd   The password that belongs to the DN
+         */
         LDAPRebindAuth(const string& dn="", const string& pwd="");
+        
+        /**
+         * Copy-constructor
+         */
         LDAPRebindAuth(const LDAPRebindAuth& lra);
+
+        /**
+         * Destructor
+         */
         virtual ~LDAPRebindAuth();
 
+        /**
+         * @return The DN that was set in the constructor
+         */
         const string& getDN() const;
+
+        /**
+         * @return The password that was set in the constructor
+         */
         const string& getPassword() const;
         
     private: