[oauth] Re: new to oauth

2009-10-21 Thread Anuradha Thota
Hi, Thanks for all the support. Further to this i need to check the nonce value to see if the incoming request is a valid(unique) one or not. Need your help on this. Thanks n Rgds, Anuradha --~--~-~--~~~---~--~~ You received this message because you are subscribed

[oauth] Re: new to oauth

2009-10-20 Thread Anuradha Thota
The jar am currently using is "oauth-20090617.jar" . i need classes "HttpRequestMessage.java","SampleOAuthProvider.java" , "OAuthServlet.java" ,The jar doesnt seem to include these classes. Which jar can i include to get the above classes also. --~--~-~--~~~---~--~

[oauth] Re: new to oauth

2009-10-16 Thread Anuradha Thota
Hi, Iam passing accessToken as null now.Even then i get the same exception that token has been expired inside SampleOAuthProvider.getAccessor() Inside this method,it is checking for tokens and since they are coming as null accessor object is set to null as a result of which we are getting OAuthPr

[oauth] Re: new to oauth

2009-10-15 Thread Anuradha Thota
Iam using 2 legged approach . i am getting the below exception net.oauth.OAuthProblemException: token_expired when i use the below validation code OAuthMessage requestMessage = OAuthServlet.getMessage(request, null); OAuthAccessor accessor = SampleOAuthProvider.getAccessor (requestMessage); Sampl

[oauth] Re: new to oauth

2009-10-14 Thread Anuradha Thota
Hi I have tried validating the signature.It throws net.oauth.OAuthProblemException: signature_invalid. What can be done to this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "OAuth" group. To post to this group,

[oauth] Re: new to oauth

2009-10-12 Thread Anuradha Thota
Yes I have seen this example.I do not see signature verification process anywhere.According to http://oauth.net/core/1.0, the Service Provider verifies the request by generating a new request signature octet string, and comparing it to the signature provided by the Consumer.Could you plesae provid

[oauth] new to oauth

2009-10-12 Thread Anuradha Thota
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 mess