}
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);
manager.authenticate(adapter, providerInfo);
}