2

I want to know how to do authenticate for REST web service in java? My supervisor want to get the format like amazon s3curl. Everytime user request, they need to give id key and access key. Which API should i used or for reference or sample code?

sudo
  • 1,525
  • 7
  • 34
  • 59
  • read up at http://stackoverflow.com/questions/454355/security-of-rest-authentication-schemes – Cheeso Apr 28 '11 at 15:47

1 Answers1

1

Amazon has an AWS SDK for Java that includes a sample S3 project, from which you could learn how they do authentication.

Alex Reynolds
  • 95,983
  • 54
  • 240
  • 345