Hi,
Iam trying to implement a sample oauth consumer(plain java) and a
service provider(servlet).
In my client i have done the following:
URL url = new URL("http://localhost:8080/OauthSample/HelloWorld");
HttpURLConnection conn=(HttpURLConnection)url.openConnection();
OAuthMessage message =
new OAuthMessage("POST", url.toString(),null);
OAuthConsumer consumer =
new OAuthConsumer(null, CONSUMER_KEY, CONSUMER_SECRET,
null);
consumer.setProperty(OAuth.OAUTH_SIGNATURE_METHOD,
OAuth.HMAC_SHA1);
OAuthAccessor accessor = new OAuthAccessor(consumer);
accessor.accessToken = "";
message.addRequiredParameters(accessor);
i got the signature.But now how do i verifying/validate this signature
on my service provider side.
Any help on this would be appreciated.Please provide a sample
implementation.
Regards,
Anuradha
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"OAuth" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/oauth?hl=en
-~----------~----~----~----~------~----~------~--~---