Skip to content

Controller Security #62

Description

@stefan-petrov1

Is your feature request related to a problem? Please describe.
Well kind of - code quality. It is much better and much readable if the controller security is done using the PreAuthorize annotation on each controller/endpoint instead of having all of it put in the SecurityConfig. This makes the SecurityConfig and all of the controllers much more readable and less confusing.

Describe the solution you'd like
Remove the "string wall" in the SecurityConfig and use the @PreAuthorize annotation.

Additional context
If you do not know how it is done you can check really old commits that contain the demo controller or you can look up the authentication video.

Metadata

Metadata

Labels

enhancementNew feature or requestlow priorityRequest with low priority

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions