sudo
sudo

Reputation: 1525

how to do authentication in REST web service?

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?

Upvotes: 2

Views: 1343

Answers (1)

Alex Reynolds
Alex Reynolds

Reputation: 96937

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

Upvotes: 1

Related Questions