Restful java web Services

The following constraints that define a RESTful system:

1.It must be a client-server system

2.It has to be stateless—there should be no need for the service to keep users'
sessions; in other words, each request should be independent of others

3.It has to support a caching system—the network infrastructure should
support cache at different levels

4.It has to be uniformly accessible—each resource must have a unique address
and a valid point of access

5.It has to be layered—it must support scalability

6.It should provide code on demand—although this is an optional constraint,
applications can be extendable at runtime by allowing the downloading of
code on demand, for example, Java Applets.

Data action                         HTTP protocol equivalent
CREATE                                            POST
RETRIEVE                                          GET
UPDATE                                             PUT
DELETE                                          DELETE

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Secure your RESTful applications against common vulnerabilities Overview Learn how to use, configure, and set up tools for applications that use RESTful web services to prevent misuse of resources Get to know and fix the most common vulnerabilities of RESTful web services APIs A step-by-step guide portraying the importance of securing a RESTful web service with simple examples applied to real-world scenarios In Detail This book will serve as a practical companion for you to learn about common vulnerabilities when using RESTful services, and will provide you with an indispensable knowledge of the tools you can use to implement and test security on your applications. It will cover the fine details of setting up RESTful services such as implementing RESTEasy and securing transmission protocols such as the OAuth protocol and its integration with RESTEasy. Furthermore, it also explains the implementation of digital signatures and the integration of the Doseta framework with RESTEasy. With this book, you will be able to design your own security implementation or use a protocol to grant permissions over your RESTful applications with OAuth. You will also gain knowledge about the working of other features such as configuring and verifying HTTP and HTTPS protocols, certificates, and securing protocols for data transmission. By the end of this book, you will have comprehensive knowledge that will help you to detect and solve vulnerabilities. What you will learn from this book Set up, implement, and personalize your development and test environment Learn, understand, and assimilate concepts inherent to security management on RESTful applications and the importance of these concepts Implement and test security on your applications that use RESTful web services with the most useful techniques and interpret the test results Apply and configure secure protocols on your application Implement, configure, and integrate other technologies such as OAuth or SSO with RESTful applications Learn and assimilate security concepts at JEE application and container level Understand digital signatures and message encryption through descriptive examples Approach A sequential and easy-to-follow guide which allows you to understand the concepts related to securing web apps/services quickly and efficiently, since each topic is explained and described with the help of an example and in a step-by-step manner, helping you to easily implement the examples in your own projects. Who this book is written for This book is intended for web application developers who use RESTful web services to power their websites. Prior knowledge of RESTful is not mandatory, but would be advisable. Table of Contents Chapter 1. Setting Up the Environment Chapter 2. The Importance of Securing Web Services Chapter 3. Security Management with RESTEasy Chapter 4. RESTEasy Skeleton Key Chapter 5. Digital Signatures and Encryption of Messages
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值