}
ModifyDnResponse resp = new ModifyDnResponseImpl();
resp.getLdapResult().setResultCode( ResultCodeEnum.SUCCESS );
ModifyDnRequest modifyDnRequest = new ModifyDnRequestImpl();
modifyDnRequest.setName( entryDn );
modifyDnRequest.setNewRdn( newDn.getRdn() );
modifyDnRequest.setNewSuperior( newDn.getParent() );
modifyDnRequest.setDeleteOldRdn( deleteOldRdn );
ModifyDnResponse modifyDnResponse = modifyDn( modifyDnRequest );
processResponse( modifyDnResponse );
}