Answer the question
In order to leave comments, you need to log in
How to split a controller into multiple permissions?
Hello everyone, a question about spring security.
I have a controller that accepts one of 6 enum types. Depending on this type, one of the strategies is executed. At the same time, according to business logic, we want the user to have access only to certain types.
for example it has 1-3 types but 4-6 doesn't. How can I achieve a similar result?
at the same time, splitting the controller into 6, and adding your own permission to everyone is not an option.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question