req.setAttribute("oauth_consumer_display", consumer.getDisplayName());
req.setAttribute("oauth_consumer_scopes", requestToken.getScopes());
req.setAttribute("oauth_consumer_permissions", requestToken.getPermissions());
req.setAttribute("oauth_request_token", requestToken.getToken());
req.setAttribute("oauth_token_confirm_uri", getAuthorizationConfirmURI(req, null));
dispatcher.forward(req, resp);
} catch (Exception ex) {
resp.setStatus(500);
}
}
//else if ("json".equals(format)) {