万本电子书0元读

万本电子书0元读

顶部广告

RESTful Java Web Services Security电子书

售       价:¥

8人正在读 | 0人评论 9.8

作       者:René Enríquez

出  版  社:Packt Publishing

出版时间:2014-07-25

字       数:106.6万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
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. 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.
目录展开

RESTful Java Web Services Security

Table of Contents

RESTful Java Web Services Security

Credits

About the Authors

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Setting Up the Environment

Downloading tools

Downloading links

Creating the base project

First functional example

Testing the example web service

Summary

2. The Importance of Securing Web Services

The importance of security

Security management options

Authorization and authentication

Authentication

Authorization

Access control

Transport layer security

Basic authentication by providing user credentials

Digest access authentication

An example with explanation

Authentication through certificates

API keys

Summary

3. Security Management with RESTEasy

Fine-grained and coarse-grained security

Securing HTTP methods

HTTP method – POST

HTTP method – GET

Fine-grained security implementation through annotations

The @RolesAllowed annotation

The savePerson method

The findById method

The @DenyAll annotation

The @PermitAll annotation

Programmatical implementation of fine-grained security

Summary

4. RESTEasy Skeleton Key

OAuth protocol

OAuth and RESTEasy Skeleton Key

What is RESTEasy Skeleton Key?

OAuth 2.0 authentication framework

Main features

OAuth2 implementation

Updating RESTEasy modules in JBoss

Setting up the configuration in JBoss

Implementing an OAuth client

The oauth-client project

The discstore project

The oauth-server project

webapp/WEB-INF/ jboss-deployment-structure.xml

Running the application

SSO configuration for security management

OAuth token via Basic Auth

Running the application

Custom filters

Server-side filters

Client-side filters

Example usage of filters

Summary

5. Digital Signatures and Encryption of Messages

Digital signatures

Updating RESTEasy JAR files

Applying digital signatures

Testing the functionality

Validating signatures with annotations

Message body encryption

Testing the functionality

Enabling the server with HTTPS

Testing the functionality

Summary

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部