posted 5 years ago
I have created an application. I configured it with spring-boot security, oauth2.
But I used only one entity. Now, I want to add one more entity. But I can't find any example.
Example. I want to add a driver entity. I created the DriverRepositoty, controller for this entity. What should I update in my code, to use it with two or more entities? Need I update the SecurityConfig, AuthorizationServerConfig or I need only change the loadUserByUsername?