How to deal with defaultRolePrefix=“ROLE_” in Spring Security update from 3.2.7 to 4.0.2.RELEASE

前端 未结 2 1781
借酒劲吻你
借酒劲吻你 2021-01-04 07:35

My Spring Boot application works on Spring Security 3.2.7.RELEASE. Now, I\'d like to update it to 4.0.2.RELEASE.

After hours of debug I ha

2条回答
  •  鱼传尺愫
    2021-01-04 08:23

    In the other hand you can remove role prefix ass described here. In this cas you are free to use other annotations.

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题