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

  • OAuth 2.0 Cookbook
  • Adolfo Eloy Nascimento
  • 231字
  • 2021-07-08 09:35:06

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.
主站蜘蛛池模板: 乌拉特中旗| 陇南市| 靖宇县| 武川县| 平潭县| 隆昌县| 弥勒县| 尼玛县| 株洲市| 吴江市| 河曲县| 潞西市| 潼南县| 进贤县| 阿拉善右旗| 张家港市| 丰镇市| 玛纳斯县| 晋宁县| 伊金霍洛旗| 且末县| 平邑县| 维西| 湘阴县| 抚顺县| 武胜县| 和林格尔县| 广南县| 三亚市| 凉城县| 郑州市| 乐东| 繁昌县| 昂仁县| 通化县| 磐安县| 六枝特区| 土默特左旗| 高邮市| 福建省| 长乐市|