Package org.bluezoo.gumdrop.ldap.client
Interface AddResultHandler
public interface AddResultHandler
Handler for add operation results.
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleAddResult(LDAPResult result, LDAPSession session) Called when the add operation completes.
-
Method Details
-
handleAddResult
Called when the add operation completes.Check
result.isSuccess()to determine if the entry was added successfully.Common failure reasons include:
ENTRY_ALREADY_EXISTS- DN already existsNO_SUCH_OBJECT- parent entry does not existOBJECT_CLASS_VIOLATION- missing required attributes
- Parameters:
result- the operation resultsession- operations for further directory access
-