users@jersey.java.net

[Jersey] help needed in authentication and authorization

From: <newaz_aiub_at_yahoo.com>
Date: Mon, 14 Feb 2011 15:49:56 +0000 (GMT)

Hi,

I am using jersey RESTful framework to build a web service. I have
implemented
a small service which Produces and consumes requests.

Now I need to have a authentication and authorization mechanism for my
services. My client will use that from their Java classes(call my
service and GET/PUT).

My platform is:
websphere 6.1,Oracle. jersey ,JEE 5.

I have deployed it in websphere. Now when my client calls my service to
PUT from Java class,I need to authenticate him and also authorize.

I saw about oauth, but I am not clear how to use it in server and
client.Can any one
provide me a guideline or some tutorial on how to do that? My service
is really simple and small, but need a authentication mechanism. So I
don't need a heavyweight security also.

ciao !