How to dynamically add parameters to Spring Boot @PreAuthorize with SpEL to hasAnyRole

后端 未结 0 902
走了就别回头了
走了就别回头了 2020-12-03 13:04

I want @PreAuthorize with SpEL having parameters to hasAnyRole(\'ROLE_ADMIN_ACC\'). Please help.

My Controller:

@RestController
@RequestMapping("a         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题