Win a copy of Python Continuous Integration and Delivery this week in the Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

Spring security with two entity  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!