// $OpenLDAP$
/*
- * Copyright 2000-2012 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 2000-2018 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
*
* During execution of this constructor no network communication
* is performed. Just some internal data structure are initialized
- * @param hostname Name (or IP-Adress) of the destination host
+ * @param hostname Name (or IP-Address) of the destination host
* @param port Port the LDAP server is running on
* @param cons Default constraints to use with operations over
* this connection
~LDAPConnection();
/**
- * Initzializes a synchronous connection to a server.
+ * Initializes a synchronous connection to a server.
*
* There is actually no
* communication to the server. Just the object is initialized
* Performs a simple authentication with the server
*
* @throws LDAPReferralException if a referral is received
- * @throws LDAPException for any other error occuring during the
+ * @throws LDAPException for any other error occurring during the
* operation
* @param dn The name of the entry to bind as
* @param passwd The cleartext password for the entry
void unbind();
/**
- * Performs a COMPARE-operation on an entery of the destination
+ * Performs a COMPARE-operation on an entry of the destination
* server.
*
* @throws LDAPReferralException if a referral is received
- * @throws LDAPException for any other error occuring during the
+ * @throws LDAPException for any other error occurring during the
* operation
* @param dn Distinguished name of the entry for which the compare
* should be performed
*
* This method performs the DELETE operation on the server
* @throws LDAPReferralException if a referral is received
- * @throws LDAPException for any other error occuring during the
+ * @throws LDAPException for any other error occurring during the
* operation
* @param dn Distinguished name of the entry that should be deleted
* @param cons A set of constraints that should be used with this
* Use this method to perform the ADD-operation
*
* @throws LDAPReferralException if a referral is received
- * @throws LDAPException for any other error occuring during the
+ * @throws LDAPException for any other error occurring during the
* operation
* @param le the entry to add to the directory
* @param cons A set of constraints that should be used with this
* To modify the attributes of an entry, this method can be used
*
* @throws LDAPReferralException if a referral is received
- * @throws LDAPException for any other error occuring during the
+ * @throws LDAPException for any other error occurring during the
* operation
* @param dn The DN of the entry which should be modified
* @param mods A set of modifications for that entry.
/**
* This method performs the ModDN-operation.
*
- * It can be used to rename or move an entry by modifing its DN.
+ * It can be used to rename or move an entry by modifying its DN.
*
* @throws LDAPReferralException if a referral is received
- * @throws LDAPException for any other error occuring during the
+ * @throws LDAPException for any other error occurring during the
* operation
* @param dn The DN that should be modified
* @param newRDN If the RDN of the entry should be modified the
* This method can be used for the sync. SEARCH-operation.
*
* @throws LDAPReferralException if a referral is received
- * @throws LDAPException for any other error occuring during the
+ * @throws LDAPException for any other error occurring during the
* operation
* @param base The distinguished name of the starting point for the
* search
* This method is for extended LDAP-Operations.
*
* @throws LDAPReferralException if a referral is received
- * @throws LDAPException for any other error occuring during the
+ * @throws LDAPException for any other error occurring during the
* operation
* @param oid The Object Identifier of the Extended Operation that
* should be performed.