session.setAttribute("openid_manager", manager);
}
try
{
OpenIDProviderList listOfProviders = manager.discoverProviders();
HTTPOpenIDContext httpOpenIDCtx = new HTTPOpenIDContext(req,resp, this.servletContext);
httpOpenIDCtx.setReturnURL(returnURL);
HTTPProtocolAdaptor adapter = new HTTPProtocolAdaptor(httpOpenIDCtx);
OpenIDProviderInformation providerInfo = manager.associate(adapter, listOfProviders);