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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)