Raj,

Thanks for responding, but I don't understand your response. I'm using
the oauth.googlecode.com Java client libraries today for 3-legged
OAuth and those work fine. My code looks something like this:

final CustomOAuthService garminOAuthService =
CustomOAuthService.getInstance();
        final String serviceURL = getEndPoint() + "json/" + noun;
        final CustomOAuthConsumer consumer =
customOAuthService.getCustomOAuthConsumer();
        final OAuthAccessor accessor = new OAuthAccessor(consumer);
        if (accessToken != null) {
            accessor.accessToken = accessToken.getToken();
            accessor.tokenSecret = accessToken.getTokenSecret();
        }
        Set<Map.Entry> entrySet = null;
        if (params != null) {
            entrySet = params.entrySet();
        }
        OAuthMessage result = CLIENT.invoke(accessor, method,
serviceURL, entrySet);

>From what I can see the OAuthAccessor is only capable of doing 3-
legged OAuth. I'm looking for and example of how to use the
oauth.googlecode.com Java libraries to do 2-legged AOuth. If I saw a
working example I could adapt it to my uses.

Thanks,

Steve

On Sep 23, 4:15 pm, Rajender Reddy <[email protected]> wrote:
> use java client libraries
>
> On Thu, Sep 16, 2010 at 2:03 PM, SteveM <[email protected]> wrote:
> > Where might I find an example of doing 2-legged OAuth using the Java
> > implementation.
>
> > --
> > 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] <oauth%[email protected]>.
> > For more options, visit this group at
> >http://groups.google.com/group/oauth?hl=en.
>
> --
> Thanks,
> -Raj

-- 
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.

Reply via email to