}
private void initiateAuthentication(final Context context) {
final Request request = context.getRequest();
request.get(SessionStorage.class).put(SAVED_URI, request.getUri());
final Clients clients = request.get(Clients.class);
final RatpackWebContext webContext = new RatpackWebContext(context);
context.blocking(new Callable<Void>() {
@Override
public Void call() throws Exception {
clients.findClient(name).redirect(webContext, true, false);
return null;
}
}).onError(new Action<Throwable>() {
@Override
public void execute(Throwable ex) throws Exception {