return getOAuthDataProvider(servletContext);
}
public static synchronized OAuthDataProvider getOAuthDataProvider(
ServletContext servletContext) {
OAuthDataProvider dataProvider = (OAuthDataProvider) servletContext
.getAttribute(OAuthConstants.OAUTH_DATA_PROVIDER_INSTANCE_KEY);
if (dataProvider == null) {
String dataProviderClassName = servletContext
.getInitParameter(OAuthConstants.OAUTH_DATA_PROVIDER_CLASS);