Package | Description |
---|---|
org.forgerock.opendj.adapter.server3x |
Classes for interacting with an embedded OpenDJ 2.x instance using the OpenDJ LDAP SDK.
|
org.forgerock.opendj.io |
Classes and interfaces providing I/O functionality.
|
org.forgerock.opendj.ldap |
Classes and interfaces for core types including connections, entries, and
attributes.
|
org.forgerock.opendj.ldap.responses |
Classes and interfaces for core LDAP responses.
|
org.forgerock.opendj.ldap.spi |
Interfaces and classes for service providers.
|
org.forgerock.opendj.ldif |
Classes and interfaces for reading and writing LDIF.
|
org.opends.server.protocols.http |
Contains the implementation for the Directory Server connection handler that
is responsible for interacting with clients using HTTP.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Result> |
Converters.getResponseResult(Operation operation,
T result)
Populates the result object with the operation details and return the
result object if it was successful.
|
Modifier and Type | Method and Description |
---|---|
static Result |
Converters.getResponseResult(Operation operation)
|
Modifier and Type | Method and Description |
---|---|
void |
LDAPMessageHandler.addResult(int messageID,
Result result)
Handles an LDAP add result message.
|
void |
AbstractLDAPMessageHandler.addResult(int messageID,
Result result) |
void |
LDAPMessageHandler.deleteResult(int messageID,
Result result)
Handles an LDAP delete result message.
|
void |
AbstractLDAPMessageHandler.deleteResult(int messageID,
Result result) |
void |
LDAPMessageHandler.modifyDNResult(int messageID,
Result result)
Handles an LDAP modify DN result message.
|
void |
AbstractLDAPMessageHandler.modifyDNResult(int messageID,
Result result) |
void |
LDAPMessageHandler.modifyResult(int messageID,
Result result)
Handles an LDAP modify result message.
|
void |
AbstractLDAPMessageHandler.modifyResult(int messageID,
Result result) |
void |
LDAPMessageHandler.searchResult(int messageID,
Result result)
Handles an LDAP search result message.
|
void |
AbstractLDAPMessageHandler.searchResult(int messageID,
Result result) |
void |
LDAPWriter.writeAddResult(int messageID,
Result result)
Writes the provided add result.
|
void |
LDAPWriter.writeDeleteResult(int messageID,
Result result)
Writes the provided delete result.
|
void |
LDAPWriter.writeModifyDNResult(int messageID,
Result result)
Writes the provided modify DN result.
|
void |
LDAPWriter.writeModifyResult(int messageID,
Result result)
Writes the provided extended result.
|
void |
LDAPWriter.writeSearchResult(int messageID,
Result result)
Writes the provided search result.
|
Modifier and Type | Method and Description |
---|---|
Result |
Connection.add(AddRequest request)
Adds an entry to the Directory Server using the provided add request.
|
Result |
AbstractConnectionWrapper.add(AddRequest request)
Adds an entry to the Directory Server using the provided add request.
|
Result |
AbstractAsynchronousConnection.add(AddRequest request) |
Result |
Connection.add(Entry entry)
Adds the provided entry to the Directory Server.
|
Result |
AbstractConnectionWrapper.add(Entry entry)
Adds the provided entry to the Directory Server.
|
Result |
AbstractConnection.add(Entry entry) |
Result |
Connection.add(String... ldifLines)
Adds an entry to the Directory Server using the provided lines of LDIF.
|
Result |
AbstractConnectionWrapper.add(String... ldifLines)
Adds an entry to the Directory Server using the provided lines of LDIF.
|
Result |
AbstractConnection.add(String... ldifLines) |
Result |
Connection.applyChange(ChangeRecord request)
Applies the provided change request to the Directory Server.
|
Result |
AbstractConnectionWrapper.applyChange(ChangeRecord request)
Applies the provided change request to the Directory Server.
|
Result |
AbstractConnection.applyChange(ChangeRecord request) |
Result |
Connection.delete(DeleteRequest request)
Deletes an entry from the Directory Server using the provided delete
request.
|
Result |
AbstractConnectionWrapper.delete(DeleteRequest request)
Deletes an entry from the Directory Server using the provided delete
request.
|
Result |
AbstractAsynchronousConnection.delete(DeleteRequest request) |
Result |
Connection.delete(String name)
Deletes the named entry from the Directory Server.
|
Result |
AbstractConnectionWrapper.delete(String name)
Deletes the named entry from the Directory Server.
|
Result |
AbstractConnection.delete(String name) |
Result |
Connection.deleteSubtree(String name)
Deletes the named entry and all of its subordinates from the Directory
Server.
|
Result |
AbstractConnectionWrapper.deleteSubtree(String name)
Deletes the named entry and all of its subordinates from the Directory
Server.
|
Result |
AbstractConnection.deleteSubtree(String name) |
Result |
LdapException.getResult()
Returns the error result which caused this exception to be thrown.
|
Result |
Connection.modify(ModifyRequest request)
Modifies an entry in the Directory Server using the provided modify
request.
|
Result |
AbstractConnectionWrapper.modify(ModifyRequest request)
Modifies an entry in the Directory Server using the provided modify
request.
|
Result |
AbstractAsynchronousConnection.modify(ModifyRequest request) |
Result |
Connection.modify(String... ldifLines)
Modifies an entry in the Directory Server using the provided lines of
LDIF.
|
Result |
AbstractConnectionWrapper.modify(String... ldifLines)
Modifies an entry in the Directory Server using the provided lines of
LDIF.
|
Result |
AbstractConnection.modify(String... ldifLines) |
Result |
Connection.modifyDN(ModifyDNRequest request)
Renames an entry in the Directory Server using the provided modify DN
request.
|
Result |
AbstractConnectionWrapper.modifyDN(ModifyDNRequest request)
Renames an entry in the Directory Server using the provided modify DN
request.
|
Result |
AbstractAsynchronousConnection.modifyDN(ModifyDNRequest request) |
Result |
Connection.modifyDN(String name,
String newRDN)
Renames the named entry in the Directory Server using the provided new
RDN.
|
Result |
AbstractConnectionWrapper.modifyDN(String name,
String newRDN)
Renames the named entry in the Directory Server using the provided new
RDN.
|
Result |
AbstractConnection.modifyDN(String name,
String newRDN) |
Result |
Connection.search(SearchRequest request,
Collection<? super SearchResultEntry> entries)
Searches the Directory Server using the provided search request.
|
Result |
AbstractConnectionWrapper.search(SearchRequest request,
Collection<? super SearchResultEntry> entries)
Searches the Directory Server using the provided search request.
|
Result |
AbstractConnection.search(SearchRequest request,
Collection<? super SearchResultEntry> entries) |
Result |
Connection.search(SearchRequest request,
Collection<? super SearchResultEntry> entries,
Collection<? super SearchResultReference> references)
Searches the Directory Server using the provided search request.
|
Result |
AbstractConnectionWrapper.search(SearchRequest request,
Collection<? super SearchResultEntry> entries,
Collection<? super SearchResultReference> references)
Searches the Directory Server using the provided search request.
|
Result |
AbstractConnection.search(SearchRequest request,
Collection<? super SearchResultEntry> entries,
Collection<? super SearchResultReference> references) |
Result |
Connection.search(SearchRequest request,
SearchResultHandler handler)
Searches the Directory Server using the provided search request.
|
Result |
AbstractConnectionWrapper.search(SearchRequest request,
SearchResultHandler handler)
Searches the Directory Server using the provided search request.
|
Result |
AbstractAsynchronousConnection.search(SearchRequest request,
SearchResultHandler handler) |
Modifier and Type | Method and Description |
---|---|
LdapPromise<Result> |
Connection.addAsync(AddRequest request)
Asynchronously adds an entry to the Directory Server using the provided
add request.
|
LdapPromise<Result> |
AbstractConnectionWrapper.addAsync(AddRequest request)
Asynchronously adds an entry to the Directory Server using the provided
add request.
|
LdapPromise<Result> |
AbstractConnection.addAsync(AddRequest request) |
LdapPromise<Result> |
Connection.addAsync(AddRequest request,
IntermediateResponseHandler intermediateResponseHandler)
Asynchronously adds an entry to the Directory Server using the provided
add request.
|
LdapPromise<Result> |
AbstractSynchronousConnection.addAsync(AddRequest request,
IntermediateResponseHandler intermediateResponseHandler) |
LdapPromise<Result> |
AbstractConnectionWrapper.addAsync(AddRequest request,
IntermediateResponseHandler intermediateResponseHandler)
Asynchronously adds an entry to the Directory Server using the provided
add request.
|
LdapPromise<Result> |
Connection.applyChangeAsync(ChangeRecord request)
Asynchronously applies the provided change request to the Directory
Server.
|
LdapPromise<Result> |
AbstractConnectionWrapper.applyChangeAsync(ChangeRecord request)
Asynchronously applies the provided change request to the Directory
Server.
|
LdapPromise<Result> |
AbstractConnection.applyChangeAsync(ChangeRecord request) |
LdapPromise<Result> |
Connection.applyChangeAsync(ChangeRecord request,
IntermediateResponseHandler intermediateResponseHandler)
Asynchronously applies the provided change request to the Directory
Server.
|
LdapPromise<Result> |
AbstractConnectionWrapper.applyChangeAsync(ChangeRecord request,
IntermediateResponseHandler intermediateResponseHandler)
Asynchronously applies the provided change request to the Directory
Server.
|
LdapPromise<Result> |
AbstractConnection.applyChangeAsync(ChangeRecord request,
IntermediateResponseHandler intermediateResponseHandler) |
LdapPromise<Result> |
Connection.deleteAsync(DeleteRequest request)
Asynchronously deletes an entry from the Directory Server using the
provided delete request.
|
LdapPromise<Result> |
AbstractConnectionWrapper.deleteAsync(DeleteRequest request)
Asynchronously deletes an entry from the Directory Server using the
provided delete request.
|
LdapPromise<Result> |
AbstractConnection.deleteAsync(DeleteRequest request) |
LdapPromise<Result> |
Connection.deleteAsync(DeleteRequest request,
IntermediateResponseHandler intermediateResponseHandler)
Asynchronously deletes an entry from the Directory Server using the
provided delete request.
|
LdapPromise<Result> |
AbstractSynchronousConnection.deleteAsync(DeleteRequest request,
IntermediateResponseHandler intermediateResponseHandler) |
LdapPromise<Result> |
AbstractConnectionWrapper.deleteAsync(DeleteRequest request,
IntermediateResponseHandler intermediateResponseHandler)
Asynchronously deletes an entry from the Directory Server using the
provided delete request.
|
LdapPromise<Result> |
Connection.modifyAsync(ModifyRequest request)
Asynchronously modifies an entry in the Directory Server using the
provided modify request.
|
LdapPromise<Result> |
AbstractConnectionWrapper.modifyAsync(ModifyRequest request)
Asynchronously modifies an entry in the Directory Server using the
provided modify request.
|
LdapPromise<Result> |
AbstractConnection.modifyAsync(ModifyRequest request) |
LdapPromise<Result> |
Connection.modifyAsync(ModifyRequest request,
IntermediateResponseHandler intermediateResponseHandler)
Asynchronously modifies an entry in the Directory Server using the
provided modify request.
|
LdapPromise<Result> |
AbstractSynchronousConnection.modifyAsync(ModifyRequest request,
IntermediateResponseHandler intermediateResponseHandler) |
LdapPromise<Result> |
AbstractConnectionWrapper.modifyAsync(ModifyRequest request,
IntermediateResponseHandler intermediateResponseHandler)
Asynchronously modifies an entry in the Directory Server using the
provided modify request.
|
LdapPromise<Result> |
Connection.modifyDNAsync(ModifyDNRequest request)
Asynchronously renames an entry in the Directory Server using the
provided modify DN request.
|
LdapPromise<Result> |
AbstractConnectionWrapper.modifyDNAsync(ModifyDNRequest request)
Asynchronously renames an entry in the Directory Server using the
provided modify DN request.
|
LdapPromise<Result> |
AbstractConnection.modifyDNAsync(ModifyDNRequest request) |
LdapPromise<Result> |
Connection.modifyDNAsync(ModifyDNRequest request,
IntermediateResponseHandler intermediateResponseHandler)
Asynchronously renames an entry in the Directory Server using the
provided modify DN request.
|
LdapPromise<Result> |
AbstractSynchronousConnection.modifyDNAsync(ModifyDNRequest request,
IntermediateResponseHandler intermediateResponseHandler) |
LdapPromise<Result> |
AbstractConnectionWrapper.modifyDNAsync(ModifyDNRequest request,
IntermediateResponseHandler intermediateResponseHandler)
Asynchronously renames an entry in the Directory Server using the
provided modify DN request.
|
LdapPromise<Result> |
Connection.searchAsync(SearchRequest request,
IntermediateResponseHandler intermediateResponseHandler,
SearchResultHandler entryHandler)
Asynchronously searches the Directory Server using the provided search
request.
|
LdapPromise<Result> |
AbstractSynchronousConnection.searchAsync(SearchRequest request,
IntermediateResponseHandler intermediateResponseHandler,
SearchResultHandler entryHandler) |
LdapPromise<Result> |
AbstractConnectionWrapper.searchAsync(SearchRequest request,
IntermediateResponseHandler intermediateResponseHandler,
SearchResultHandler entryHandler)
Asynchronously searches the Directory Server using the provided search
request.
|
LdapPromise<Result> |
Connection.searchAsync(SearchRequest request,
SearchResultHandler entryHandler)
Asynchronously searches the Directory Server using the provided search
request.
|
LdapPromise<Result> |
AbstractConnectionWrapper.searchAsync(SearchRequest request,
SearchResultHandler resultHandler)
Asynchronously searches the Directory Server using the provided search
request.
|
LdapPromise<Result> |
AbstractConnection.searchAsync(SearchRequest request,
SearchResultHandler resultHandler) |
Modifier and Type | Method and Description |
---|---|
static LdapException |
LdapException.newLdapException(Result result)
Creates a new LDAP exception using the provided result.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestHandler.handleAdd(C requestContext,
AddRequest request,
IntermediateResponseHandler intermediateResponseHandler,
LdapResultHandler<Result> resultHandler)
Invoked when an add request is received from a client.
|
void |
MemoryBackend.handleAdd(RequestContext requestContext,
AddRequest request,
IntermediateResponseHandler intermediateResponseHandler,
LdapResultHandler<Result> resultHandler) |
void |
RequestHandler.handleDelete(C requestContext,
DeleteRequest request,
IntermediateResponseHandler intermediateResponseHandler,
LdapResultHandler<Result> resultHandler)
Invoked when a delete request is received from a client.
|
void |
MemoryBackend.handleDelete(RequestContext requestContext,
DeleteRequest request,
IntermediateResponseHandler intermediateResponseHandler,
LdapResultHandler<Result> resultHandler) |
void |
RequestHandler.handleModify(C requestContext,
ModifyRequest request,
IntermediateResponseHandler intermediateResponseHandler,
LdapResultHandler<Result> resultHandler)
Invoked when a modify request is received from a client.
|
void |
MemoryBackend.handleModify(RequestContext requestContext,
ModifyRequest request,
IntermediateResponseHandler intermediateResponseHandler,
LdapResultHandler<Result> resultHandler) |
void |
RequestHandler.handleModifyDN(C requestContext,
ModifyDNRequest request,
IntermediateResponseHandler intermediateResponseHandler,
LdapResultHandler<Result> resultHandler)
Invoked when a modify DN request is received from a client.
|
void |
MemoryBackend.handleModifyDN(RequestContext requestContext,
ModifyDNRequest request,
IntermediateResponseHandler intermediateResponseHandler,
LdapResultHandler<Result> resultHandler) |
void |
RequestHandler.handleSearch(C requestContext,
SearchRequest request,
IntermediateResponseHandler intermediateResponseHandler,
SearchResultHandler entryHandler,
LdapResultHandler<Result> resultHandler)
Invoked when a search request is received from a client.
|
void |
MemoryBackend.handleSearch(RequestContext requestContext,
SearchRequest request,
IntermediateResponseHandler intermediateResponseHandler,
SearchResultHandler entryHandler,
LdapResultHandler<Result> resultHandler) |
Constructor and Description |
---|
LdapException(Result result)
Creates a new LDAP exception using the provided result.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BindResult
A Bind result indicates the status of the client's request for
authentication.
|
interface |
CompareResult
An Compare result indicates the final status of an Compare operation.
|
interface |
ExtendedResult
A Extended result indicates the status of an Extended operation and any
additional information associated with the Extended operation, including the
optional response name and value.
|
interface |
GenericExtendedResult
A Generic Extended result indicates the final status of an Generic Extended
operation.
|
interface |
PasswordModifyExtendedResult
The password modify extended result as defined in RFC 3062.
|
interface |
WhoAmIExtendedResult
The who am I extended result as defined in RFC 4532.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractExtendedResult<S extends ExtendedResult>
An abstract Extended result which can be used as the basis for implementing
new Extended operations.
|
Modifier and Type | Method and Description |
---|---|
Result |
Result.addControl(Control control) |
Result |
Result.addReferralURI(String uri)
Adds the provided referral URI to this result.
|
static Result |
Responses.copyOfResult(Result result)
Creates a new result that is an exact copy of the provided result.
|
static Result |
Responses.newResult(ResultCode resultCode)
Creates a new result using the provided result code.
|
Result |
Result.setCause(Throwable cause)
Sets the throwable cause associated with this result if available.
|
Result |
Result.setDiagnosticMessage(String message)
Sets the diagnostic message associated with this result.
|
Result |
Result.setMatchedDN(String dn)
Sets the matched DN associated with this result.
|
Result |
Result.setResultCode(ResultCode resultCode)
Sets the result code associated with this result.
|
static Result |
Responses.unmodifiableResult(Result result)
Creates an unmodifiable result using the provided response.
|
Modifier and Type | Method and Description |
---|---|
static Result |
Responses.copyOfResult(Result result)
Creates a new result that is an exact copy of the provided result.
|
static Result |
Responses.unmodifiableResult(Result result)
Creates an unmodifiable result using the provided response.
|
Modifier and Type | Class and Description |
---|---|
class |
ResultLdapPromiseImpl<R extends Request,S extends Result>
This class provides an implementation of the
LdapPromise . |
Modifier and Type | Method and Description |
---|---|
LdapPromise<Result> |
LDAPConnectionImpl.addAsync(AddRequest request,
IntermediateResponseHandler intermediateResponseHandler)
Asynchronously adds an entry to the Directory Server using the provided add request.
|
LdapPromise<Result> |
LDAPConnectionImpl.deleteAsync(DeleteRequest request,
IntermediateResponseHandler intermediateResponseHandler)
Asynchronously deletes an entry from the Directory Server using the provided delete request.
|
LdapPromise<Result> |
LDAPConnectionImpl.modifyAsync(ModifyRequest request,
IntermediateResponseHandler intermediateResponseHandler)
Asynchronously modifies an entry in the Directory Server using the provided modify request.
|
LdapPromise<Result> |
LDAPConnectionImpl.modifyDNAsync(ModifyDNRequest request,
IntermediateResponseHandler intermediateResponseHandler)
Asynchronously renames an entry in the Directory Server using the provided modify DN request.
|
static <R extends Request> |
LdapPromises.newResultLdapPromise(int requestID,
R request,
IntermediateResponseHandler intermediateResponseHandler,
Connection connection)
Creates a new
ResultLdapPromiseImpl to handle a standard request (add, delete, modify and modidyDN). |
static <R extends Request> |
LdapPromises.newResultLdapPromise(int requestID,
R request,
IntermediateResponseHandler intermediateResponseHandler,
LDAPConnectionImpl connection)
Creates a new
ResultLdapPromiseImpl to handle a standard request (add, delete, modify and modidyDN). |
LdapPromise<Result> |
LDAPConnectionImpl.searchAsync(SearchRequest request,
IntermediateResponseHandler intermediateResponseHandler,
SearchResultHandler entryHandler)
Asynchronously searches the Directory Server using the provided search request.
|
Modifier and Type | Method and Description |
---|---|
void |
ResultLdapPromiseImpl.adaptErrorResult(Result result)
Sets the result associated to this promise as an error result.
|
Modifier and Type | Method and Description |
---|---|
Result |
ConnectionEntryReader.readResult()
Waits for the next search response to become available and returns it if
it is a search result indicating that the search completed successfully.
|
Modifier and Type | Method and Description |
---|---|
LdapPromise<Result> |
SdkConnectionAdapter.addAsync(AddRequest request,
IntermediateResponseHandler intermediateResponseHandler) |
LdapPromise<Result> |
SdkConnectionAdapter.deleteAsync(DeleteRequest request,
IntermediateResponseHandler intermediateResponseHandler) |
LdapPromise<Result> |
SdkConnectionAdapter.modifyAsync(ModifyRequest request,
IntermediateResponseHandler intermediateResponseHandler) |
LdapPromise<Result> |
SdkConnectionAdapter.modifyDNAsync(ModifyDNRequest request,
IntermediateResponseHandler intermediateResponseHandler) |
LdapPromise<Result> |
SdkConnectionAdapter.searchAsync(SearchRequest request,
IntermediateResponseHandler intermediateResponseHandler,
SearchResultHandler entryHandler) |
Copyright 2010-2017 ForgeRock AS.