Skip to Content
Spring Security in Action
book

Spring Security in Action

by Laurentiu Spilca
October 2020
Beginner to intermediate
560 pages
14h 52m
English
Manning Publications
Content preview from Spring Security in Action

13 OAuth 2: Implementing the authorization server

This chapter covers

  • Implementing an OAuth 2 authorization server

  • Managing clients for the authorization server

  • Using the OAuth 2 grant types

In this chapter, we’ll discuss implementing an authorization server with Spring Security. As you learned in chapter 12, the authorization server is one of the components acting in the OAuth 2 architecture (figure 13.1). The role of the authorization server is to authenticate the user and provide a token to the client. The client uses this token to access resources exposed by the resource server on behalf of the user. You also learned that the OAuth 2 framework defines multiple flows for obtaining a token. We call these flows grants. You choose one ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Spring Security in Action, Second Edition

Spring Security in Action, Second Edition

Laurentiu Spilca

Publisher Resources

ISBN: 9781617297731Publisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link