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
More Related Contents:
- Spring Security : Multiple HTTP Config not working
- Filter invoke twice when register as Spring bean
- How to get active user’s UserDetails
- When using Spring Security, what is the proper way to obtain current username (i.e. SecurityContext) information in a bean?
- How to disable spring security for particular url
- Difference between Role and GrantedAuthority in Spring Security
- Disable Spring Security for OPTIONS Http Method
- How to enable HTTP response caching in Spring Boot
- RESTful Authentication via Spring
- HttpSecurity, WebSecurity and AuthenticationManagerBuilder
- How to get the current logged in user object from spring security?
- Spring webSecurity.ignoring() doesn’t ignore custom filter
- Spring security does not allow CSS or JS resources to be loaded
- how to display custom error message in jsp for spring security auth exception
- spring web, security + web.xml + mvc dispatcher + Bean is created twice
- How to apply Spring Security filter only on secured endpoints?
- Spring Security HTTP Basic for RESTFul and FormLogin (Cookies) for web – Annotations
- Why this Spring application with java-based configuration don’t work properly
- Spring REST security – Secure different URLs differently
- Custom Authentication Manager with Spring Security and Java Configuration
- Difference between spring @Controller and @RestController annotation
- Spring Boot Adding Http Request Interceptors
- Using GZIP compression with Spring Boot/MVC/JavaConfig with RESTful
- Return generated pdf using spring MVC
- Spring – Redirect after POST (even with validation errors)
- Binding a list in @RequestParam
- How to Implement HTTP byte-range requests in Spring MVC
- How do I obtain the Jackson ObjectMapper in use by Spring 4.1?
- UnsatisfiedDependencyException: Error creating bean with name
- How to handle MaxUploadSizeExceededException