0
I am developing a system for my college TCC. I am creating the user authentication part. I wonder if someone has a simple example of Spring Security configuration of users who have more than one permission, that is, a user who can access more than one function of the application. Example, user who accesses both financial and HR, without I have to create a new login for the user. My DB has the user table and scroll (which keeps the permissions). I believe I made myself clear in my question, I just want a simple example or a hint of how to do it and whether I should create more than one configure method.
Thanks!!!
What is missing is the table that will relate the USER to the ROLE. With this table a user can have several ROLES and a ROLE can belong to several users.
– cantoni
If it doesn’t work, the implementation varies slightly between versions
– Erick Luz