// Handle any OAuth Request tokens
String oauthRequestToken =
(String) session.getAttribute("oauth_request_token");
if (oauthRequestToken != null) {
// This is a request token response
HybridOauthResponse hybridResponse =
new HybridOauthResponse(oauthRequestToken, "");
try {
responseMessage.addExtension(hybridResponse);
} catch (MessageException e) {
throw new ServletException(e);
}