This blog proves that with just a few steps we can get rid of the SpEL expressions in the authorization annotations. It is not something that will significantly improve the app's security. It does not add functionality but it leverages the development process. It makes code reviews easier and decreases the chance of making errors on the endpoints' permissions. It also enables developers to take advantage of the IDE's type-safe features like autocompletion and validation.