authenticate(blog, username, password);
Vector posts = new Vector();
Collection coll = blog.getRecentPublishedBlogEntries(numberOfPosts);
Iterator it = coll.iterator();
BlogEntry entry;
while (it.hasNext()) {
entry = (BlogEntry)it.next();
posts.add(adaptBlogEntry(entry));
}