users@jersey.java.net

[Jersey] Re: Reg: Need REST WS security example

From: Jakub Podlesak <jakub.podlesak_at_oracle.com>
Date: Mon, 11 Jul 2011 16:22:04 +0200

Hello Sriram,

please see in-line...

On 07/06/2011 07:55 AM, sriram srikanth wrote:
> Hi,
>
> I have seen the REST with oAuth related example. Its very good. That
> example explained with NetBeans and GlassFish server.

Do you mean [1] ?
>
> http://java.net/projects/jersey/downloads
>
> I think at client side we will not do anything. Just passing URI's
> only right? But in the above example you written authentication logic
> at client side using oAuth. Is it possible to write the logic at
> client side also?

The above is based on the Jersey OAuth 1.0 support. Jersey OAuth Twitter
client example [2]
should help you understand how things work internally on the client side.
>
>
> Can you please provide me the links which is related REST Security
> related example by implementing RAD & Websphere?

I have only used RAD (Rational Application Developer) a long time ago,
so not sure about that. But the above mentioned example is based on
maven, and as long
as RAD supports maven, the example should work for you there.
For WebSphere deployment it should be sufficient to bundle Jersey client
and OAuth
jars with your web application.


~Jakub

[1]http://netbeans.dzone.com/oauth-support-netbeans
[2]http://download.java.net/maven/2/com/sun/jersey/samples/oauth-client-twitter/1.8/oauth-client-twitter-1.8-project.zip
>
>
> If you need any more details I will provide you.
>
> Thanks.
> Sriram.