* Used to encapsulate [de]marshalling of controls before and after list operations.
*/
protected EntryFilteringCursor doListOperation( DN target ) throws Exception
{
// setup the op context and populate with request controls
ListOperationContext opCtx = new ListOperationContext( session, target );
opCtx.addRequestControls( JndiUtils.fromJndiControls( requestControls ) );
// execute list operation
OperationManager operationManager = service.getOperationManager();
EntryFilteringCursor results = operationManager.list( opCtx );
// clear the request controls and set the response controls
requestControls = EMPTY_CONTROLS;
responseControls = JndiUtils.toJndiControls( opCtx.getResponseControls() );
return results;
}