|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unboundid.ldap.listener.interceptor.InMemoryOperationInterceptor
@Extensible @ThreadSafety(level=INTERFACE_THREADSAFE) public abstract class InMemoryOperationInterceptor
This class defines an API that may be used to intercept and potentially alter
communication between an LDAP client and the in-memory directory server. An
operation interceptor may be enabled for use with the in-memory directory
server by registering it with the
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.
Note that any operation interceptors configured for use will be invoked only
for requests received via LDAP. Operations processed via method calls made
directly to the InMemoryDirectoryServer
class via the LDAPInterface
interface will not
cause any operation interceptors to be invoked.
Constructor Summary | |
---|---|
InMemoryOperationInterceptor()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InMemoryOperationInterceptor()
Method Detail |
---|
public void processAddRequest(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(InMemoryInterceptedAddResult result)
result
- Information about the add result that is to be returned to
the client.public void processSimpleBindRequest(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(InMemoryInterceptedSimpleBindResult result)
result
- Information about the bind result that is to be returned to
the client.public void processSASLBindRequest(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(InMemoryInterceptedSASLBindResult result)
result
- Information about the bind result that is to be returned to
the client.public void processCompareRequest(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(InMemoryInterceptedCompareResult result)
result
- Information about the compare result that is to be returned
to the client.public void processDeleteRequest(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(InMemoryInterceptedDeleteResult result)
result
- Information about the delete result that is to be returned
to the client.public void processExtendedRequest(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(InMemoryInterceptedExtendedResult result)
result
- Information about the extended result that is to be
returned to the client.public void processModifyRequest(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(InMemoryInterceptedModifyResult result)
result
- Information about the modify result that is to be returned
to the client.public void processModifyDNRequest(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(InMemoryInterceptedModifyDNResult result)
result
- Information about the modify DN result that is to be
returned to the client.public void processSearchRequest(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(InMemoryInterceptedSearchEntry entry)
entry
- Information about the search result entry to be returnedpublic void processSearchReference(InMemoryInterceptedSearchReference reference)
reference
- Information about the search result reference to be
returnedpublic void processSearchResult(InMemoryInterceptedSearchResult result)
result
- Information about the search result that is to be returned
to the client.public void processIntermediateResponse(InMemoryInterceptedIntermediateResponse response)
response
- Information about the intermediate response to be
returned to the client.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |