Skip to Content
Mastering Spring Cloud
book

Mastering Spring Cloud

by Piotr Mińkowski
April 2018
Intermediate to advanced content levelIntermediate to advanced
432 pages
10h 38m
English
Packt Publishing
Content preview from Mastering Spring Cloud

Client configuration

Your application can use the OAuth2 client that is configured in two different ways. The first of these ways is through the @EnableOAuth2Client annotation, which creates a filter bean with an ID of oauth2ClientContextFilter that is responsible for storing the request and context. It also manages communication between your application and an authorization server. However, we will be looking at the second approach to OAuth2's client-side implementation, through @EnableOAuth2Sso. Single sign-on (SSO) is a well-known security pattern that allows a user to use one set of login credentials to access multiple applications. There are two features provided by this annotation—the OAuth2 client and the authentication. The authentication ...

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

Microservices with Spring Boot and Spring Cloud - Second Edition

Microservices with Spring Boot and Spring Cloud - Second Edition

Magnus Larsson

Publisher Resources

ISBN: 9781788475433Supplemental Content