-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Spring MVC Cookbook
By :
We have thought interesting to split apart this section, since users and roles are usually borderline between the application and Spring Security.
In this recipe, we will install the Spring Security dependencies and update the User Entity. We will also create an Authority entity that is based on a custom Role enum that we created. Finally, we update the init.sql script to add a set of existing users.
From the Git Perspective in Eclipse, checkout the latest version of the branch v5.x.x. Then, run a maven clean install command on the cloudstreetmarket-parent module (right-click on the module, go to Run as… | Maven Clean, and then navigate to Run as… | Maven Install). Execute a Maven Update Project to synchronize Eclipse with the maven configuration (right-click on the module and then navigate to Maven | Update Project…).
You will notice a few changes both in the frontend and backend of the code.
Spring Security comes with...
Change the font size
Change margin width
Change background colour