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

  • 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.
主站蜘蛛池模板: 固安县| 普定县| 阿坝县| 海兴县| 玉龙| 巴里| 九台市| 杭锦后旗| 东港市| 罗城| 石阡县| 饶阳县| 雅江县| 西和县| 赤壁市| 大宁县| 门源| 丽江市| 东宁县| 夏河县| 营口市| 东海县| 梁山县| 侯马市| 泰顺县| 内黄县| 独山县| 贡山| 抚远县| 如皋市| 潮州市| 法库县| 闵行区| 阜南县| 平阳县| 闻喜县| 普陀区| 陇川县| 乐都县| 乐昌市| 广丰县|