@Extensible @ThreadSafety(level=INTERFACE_THREADSAFE) public abstract class InMemoryOperationInterceptor extends java.lang.Object
InMemoryDirectoryServerConfig
. The
default implementation of all methods defined in this class is to return the
provided request or result without altering it in any way.
InMemoryDirectoryServer
class via the LDAPInterface
interface will not
cause any operation interceptors to be invoked.Constructor and Description |
---|
InMemoryOperationInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
processAddRequest(InMemoryInterceptedAddRequest request)
Invokes any processing that should be performed for the provided add
request before it is passed to the in-memory directory server.
|
void |
processAddResult(InMemoryInterceptedAddResult result)
Invokes any processing that should be performed for the provided add result
before it is returned to the client.
|
void |
processCompareRequest(InMemoryInterceptedCompareRequest request)
Invokes any processing that should be performed for the provided compare
request before it is passed to the in-memory directory server.
|
void |
processCompareResult(InMemoryInterceptedCompareResult result)
Invokes any processing that should be performed for the provided compare
result before it is returned to the client.
|
void |
processDeleteRequest(InMemoryInterceptedDeleteRequest request)
Invokes any processing that should be performed for the provided delete
request before it is passed to the in-memory directory server.
|
void |
processDeleteResult(InMemoryInterceptedDeleteResult result)
Invokes any processing that should be performed for the provided delete
result before it is returned to the client.
|
void |
processExtendedRequest(InMemoryInterceptedExtendedRequest request)
Invokes any processing that should be performed for the provided extended
request before it is passed to the in-memory directory server.
|
void |
processExtendedResult(InMemoryInterceptedExtendedResult result)
Invokes any processing that should be performed for the provided extended
result before it is returned to the client.
|
void |
processIntermediateResponse(InMemoryInterceptedIntermediateResponse response)
Invokes any processing that should be performed for the provided
intermediate response before it is returned to the client.
|
void |
processModifyDNRequest(InMemoryInterceptedModifyDNRequest request)
Invokes any processing that should be performed for the provided modify DN
request before it is passed to the in-memory directory server.
|
void |
processModifyDNResult(InMemoryInterceptedModifyDNResult result)
Invokes any processing that should be performed for the provided modify DN
result before it is returned to the client.
|
void |
processModifyRequest(InMemoryInterceptedModifyRequest request)
Invokes any processing that should be performed for the provided modify
request before it is passed to the in-memory directory server.
|
void |
processModifyResult(InMemoryInterceptedModifyResult result)
Invokes any processing that should be performed for the provided modify
result before it is returned to the client.
|
void |
processSASLBindRequest(InMemoryInterceptedSASLBindRequest request)
Invokes any processing that should be performed for the provided SASL bind
request before it is passed to the in-memory directory server.
|
void |
processSASLBindResult(InMemoryInterceptedSASLBindResult result)
Invokes any processing that should be performed for the provided SASL bind
result before it is returned to the client.
|
void |
processSearchEntry(InMemoryInterceptedSearchEntry entry)
Invokes any processing that should be performed for the provided search
result entry before it is returned to the client.
|
void |
processSearchReference(InMemoryInterceptedSearchReference reference)
Invokes any processing that should be performed for the provided search
result reference before it is returned to the client.
|
void |
processSearchRequest(InMemoryInterceptedSearchRequest request)
Invokes any processing that should be performed for the provided search
request before it is passed to the in-memory directory server.
|
void |
processSearchResult(InMemoryInterceptedSearchResult result)
Invokes any processing that should be performed for the provided search
result before it is returned to the client.
|
void |
processSimpleBindRequest(InMemoryInterceptedSimpleBindRequest request)
Invokes any processing that should be performed for the provided simple
bind request before it is passed to the in-memory directory server.
|
void |
processSimpleBindResult(InMemoryInterceptedSimpleBindResult result)
Invokes any processing that should be performed for the provided simple
bind result before it is returned to the client.
|
public InMemoryOperationInterceptor()
public void processAddRequest(@NotNull InMemoryInterceptedAddRequest request) throws LDAPException
request
- Information about the request that was received from the
client.LDAPException
- If the provided operation should not be passed onto
the in-memory directory server, but the result
represented by this exception should be used
instead.public void processAddResult(@NotNull InMemoryInterceptedAddResult result)
result
- Information about the add result that is to be returned to
the client.public void processSimpleBindRequest(@NotNull InMemoryInterceptedSimpleBindRequest request) throws LDAPException
request
- Information about the request that was received from the
client.LDAPException
- If the provided operation should not be passed onto
the in-memory directory server, but the result
represented by this exception should be used
instead.public void processSimpleBindResult(@NotNull InMemoryInterceptedSimpleBindResult result)
result
- Information about the bind result that is to be returned to
the client.public void processSASLBindRequest(@NotNull InMemoryInterceptedSASLBindRequest request) throws LDAPException
request
- Information about the request that was received from the
client.LDAPException
- If the provided operation should not be passed onto
the in-memory directory server, but the result
represented by this exception should be used
instead.public void processSASLBindResult(@NotNull InMemoryInterceptedSASLBindResult result)
result
- Information about the bind result that is to be returned to
the client.public void processCompareRequest(@NotNull InMemoryInterceptedCompareRequest request) throws LDAPException
request
- Information about the request that was received from the
client.LDAPException
- If the provided operation should not be passed onto
the in-memory directory server, but the result
represented by this exception should be used
instead.public void processCompareResult(@NotNull InMemoryInterceptedCompareResult result)
result
- Information about the compare result that is to be returned
to the client.public void processDeleteRequest(@NotNull InMemoryInterceptedDeleteRequest request) throws LDAPException
request
- Information about the request that was received from the
client.LDAPException
- If the provided operation should not be passed onto
the in-memory directory server, but the result
represented by this exception should be used
instead.public void processDeleteResult(@NotNull InMemoryInterceptedDeleteResult result)
result
- Information about the delete result that is to be returned
to the client.public void processExtendedRequest(@NotNull InMemoryInterceptedExtendedRequest request) throws LDAPException
request
- Information about the request that was received from the
client.LDAPException
- If the provided operation should not be passed onto
the in-memory directory server, but the result
represented by this exception should be used
instead.public void processExtendedResult(@NotNull InMemoryInterceptedExtendedResult result)
result
- Information about the extended result that is to be
returned to the client.public void processModifyRequest(@NotNull InMemoryInterceptedModifyRequest request) throws LDAPException
request
- Information about the request that was received from the
client.LDAPException
- If the provided operation should not be passed onto
the in-memory directory server, but the result
represented by this exception should be used
instead.public void processModifyResult(@NotNull InMemoryInterceptedModifyResult result)
result
- Information about the modify result that is to be returned
to the client.public void processModifyDNRequest(@NotNull InMemoryInterceptedModifyDNRequest request) throws LDAPException
request
- Information about the request that was received from the
client.LDAPException
- If the provided operation should not be passed onto
the in-memory directory server, but the result
represented by this exception should be used
instead.public void processModifyDNResult(@NotNull InMemoryInterceptedModifyDNResult result)
result
- Information about the modify DN result that is to be
returned to the client.public void processSearchRequest(@NotNull InMemoryInterceptedSearchRequest request) throws LDAPException
request
- Information about the request that was received from the
client.LDAPException
- If the provided operation should not be passed onto
the in-memory directory server, but the result
represented by this exception should be used
instead.public void processSearchEntry(@NotNull InMemoryInterceptedSearchEntry entry)
entry
- Information about the search result entry to be returned.public void processSearchReference(@NotNull InMemoryInterceptedSearchReference reference)
reference
- Information about the search result reference to be
returned.public void processSearchResult(@NotNull InMemoryInterceptedSearchResult result)
result
- Information about the search result that is to be returned
to the client.public void processIntermediateResponse(@NotNull InMemoryInterceptedIntermediateResponse response)
response
- Information about the intermediate response to be
returned to the client.