O'Reilly logo

Mastering Spring Cloud by Piotr Minkowski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the JDBC backend store

In the previous sections, we configured an authentication server and client application, which grants access to the resources protected by the resource server. However, the whole authorization server configuration has been provided inside in-memory storage. Such a solution meets our needs during development, but it is not the most desirable approach in production mode. The target solution should store all the authentication credentials and tokens in the database. We may choose between many relational databases supported by Spring. In this case, I have decided to use MySQL.

So, the first step is to start the MySQL database locally. The most comfortable way to achieve this is through a Docker container. In addition ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required