官术网_书友最值得收藏!

Introduction

Nowadays we have scenarios which demand that applications interact with a large number of services and also provide services by themselves distributed as APIs throughout the network. Despite this, it's common to allow users of our applications to grant permissions to third-party applications, where OAuth 2.0 has proven to be a good option.

In this chapter, you will learn how to create, configure, and distribute an OAuth 2.0 Provider covering distinct scenarios using all the grant types described by the OAuth 2.0 specification, as well as how to use different access token management strategies through relational databases and Redis (a NoSQL database). All the recipes in this chapter will be implemented using Spring Security OAuth2, which at the time of writing this book, was at the 2.2.0.RELEASE version (check the official documentation for Spring Security OAuth2 at http://projects.spring.io/spring-security-oauth/docs/oauth2.html). It's important learning how to configure your own OAuth 2.0 Provider because of the large number of integrations being done among applications nowadays. Additionally, by reading this chapter, you will be able to apply all the OAuth 2.0 details from specifications practically through the usage of Spring Security OAuth2.

Bear in mind to use TLS/SSL in production to always protect all transferred data between clients and the OAuth 2.0 Provider. This must be considered to all recipes on this book, so when running production OAuth 2.0 applications, make sure to use TLS/SSL.
主站蜘蛛池模板: 阿拉善右旗| 贡嘎县| 积石山| 大同市| 齐河县| 庆阳市| 蛟河市| 内江市| 开平市| 延川县| 上犹县| 贵港市| 平顶山市| 双牌县| 沧州市| 桦南县| 静安区| 绍兴市| 方正县| 锦州市| 繁昌县| 甘南县| 山东| 恭城| 砚山县| 电白县| 盱眙县| 新乐市| 恩平市| 全州县| 明水县| 温泉县| 嘉禾县| 盘锦市| 东兴市| 哈密市| 吐鲁番市| 扶沟县| 台南市| 密云县| 焦作市|