简体   繁体   中英

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM