frontEndUrl = OpenIDUtil.getAdminConsoleURL(req);
provider = OpenIDHandler.getInstance(null);
provider.setFrontEndUrl(frontEndUrl + "openid-provider/openid_auth.jsp");
try {
response = provider
.processRequest((HttpServletRequest) req, (HttpServletResponse) resp);
} catch (IdentityException e) {
throw new ServletException(e);
}