]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/src/LDAPRebindAuth.h
Merge remote branch 'origin/mdb.master'
[openldap] / contrib / ldapc++ / src / LDAPRebindAuth.h
index bf6dfa139b8e8186137c072afd1dee14fb033f28..5491beba98a69c6713976c28ce3969f48945b8e8 100644 (file)
@@ -1,5 +1,6 @@
+// $OpenLDAP$
 /*
- * Copyright 2000, OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 2000-2011 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 
@@ -23,7 +24,7 @@ class LDAPRebindAuth{
          * @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="");
+        LDAPRebindAuth(const std::string& dn="", const std::string& pwd="");
         
         /**
          * Copy-constructor
@@ -38,16 +39,16 @@ class LDAPRebindAuth{
         /**
          * @return The DN that was set in the constructor
          */
-        const string& getDN() const;
+        const std::string& getDN() const;
 
         /**
          * @return The password that was set in the constructor
          */
-        const string& getPassword() const;
+        const std::string& getPassword() const;
         
     private:
-        string m_dn;
-        string m_password;
+        std::string m_dn;
+        std::string m_password;
 };
 
 #endif //LDAP_REBIND_AUTH_H