Have you found a solution yet? I'm having the same problem and got stuck in the same spot. Almost got excited when I stumbled across setRedirected(), just to find out it's obsolote the next minute.