Spring security added prefix “ROLE_” to all roles name?

Spring security adds the prefix “ROLE_” by default.

If you want this removed or changed, take a look at

How to change role from interceptor-url?

EDIT: found this as well:
Spring Security remove RoleVoter prefix

Leave a Comment