Installing the required dependencies
Our application has already defined all the necessary dependencies required for this chapter. However, if you are using Spring Security’s JDBC support, you are likely going to want the following dependencies listed in your build.gradle
file. It is important to highlight that the JDBC driver that you will use will depend on which database you are using. Consult your database vendor’s documentation for details on which driver is needed for your database.
Important note
Remember that all the Spring versions need to match, and all Spring Security versions need to match (this includes transitive dependency versions). If you are having difficulty getting this to work in your own application, you may want to define the dependency management section in build.gradle
to enforce this, as shown in Chapter 2, Getting Started with Spring Security. As previously mentioned, you will not need to worry about this when using the sample code, since...