HashMap<String, ProtectedResourceDetails> detailsStore = new HashMap<String, ProtectedResourceDetails>();
BaseProtectedResourceDetails googleDetails = new BaseProtectedResourceDetails();
googleDetails.setRequestTokenURL("https://www.google.com/accounts/OAuthGetRequestToken");
googleDetails.setAccessTokenURL("https://www.google.com/accounts/OAuthAuthorizeToken");
googleDetails.setConsumerKey("anonymous");
googleDetails.setSharedSecret(new SharedConsumerSecretImpl("anonymous"));
googleDetails.setId("google");
googleDetails.setUse10a(true);
googleDetails.setSignatureMethod(HMAC_SHA1SignatureMethod.SIGNATURE_NAME);
googleDetails.setRequestTokenHttpMethod("GET");
HashMap<String, String> additional = new HashMap<String, String>();