The reason is that the defined role names do not match
Path permission rule matching configuration is :ADMIN here program can not configure ROLE_ role or directly report the BUG
The user’s permissions are configured in custom permission validation :ROLE_ADMIN needs to be preceded by ROLE_
This pit stepped on twice This design is very wanted to make fun of
Read More:
- Solve the problem of There was an unexpected error (type=Internal Server Error, status=500) (using Thymeleaf to report an error)
- Solve the problem that the delete request is not available under SpringBoot. There was an unexpected error (type=Method Not Allowed, status=405).
- JWT and token + redis scheme of spring security
- Failed to load resource: the server responded with a status of 403 (Forbidden)
- Spring security failed to log in, error: there is no passwordencoder mapped for the ID “null”
- Spring MVC error HTTP status 400 – bad request
- Spring MVC 406 status code / could not find acceptable representation
- An error was reported when idea compiles Java: no symbol was found_ How to solve this problem
- The spring boot project was first created, pom.xml The error is Maven configuration problem. How to solve it?
- Error type referred to is not an annotation type:RedisCache
- array type has an incomplete element type
- Was import certificate — error prompt: java.security.cert .CertPathValidatorException: Certificate chaining error
- The 406 status code can not find acceptable representation is returned in spring MVC
- egg.js The frame post request reported an error of invalid CSRF token security verification, which has been solved
- Response code: Sampler error: unexpected frame type (binary).
- The sharepoint2010 site cannot open a solution that displays an “an unexpected error has occurred” error
- Spring AOP is an error creating bean with name
- WCF error “an error occurred when verifying security for the message”… “
- python got an unexpected keyword argument
- C# Member XXX cannot be accessed with an instance with an instance reference;qualify it with a type