* Used to encapsulate [de]marshalling of controls before and after moveAndRename operations.
*/
protected void doMove( DN oldDn, DN target ) throws Exception
{
// setup the op context and populate with request controls
MoveOperationContext opCtx = new MoveOperationContext( session, oldDn, target );
opCtx.addRequestControls( JndiUtils.fromJndiControls( requestControls ) );
// Inject the referral handling into the operation context
injectReferralControl( opCtx );
// execute move operation
OperationManager operationManager = service.getOperationManager();
operationManager.move( opCtx );
// clear the request controls and set the response controls
requestControls = EMPTY_CONTROLS;
responseControls = JndiUtils.toJndiControls( opCtx.getResponseControls() );
}