@AuthenticationPrincipal with Spring Boot not working

前端 未结 1 416
伪装坚强ぢ
伪装坚强ぢ 2021-01-20 20:23

Using Spring Boot 1.3.1, I am having problems with @AuthenticationPrincipal.

This is my controller:

@RestController
@RequestMapping(\"/a         


        
1条回答
  •  萌比男神i
    2021-01-20 20:47

    To help anyone else who hits the same problem, this is a limitation in Spring Boot DevTools and Spring Security OAuth. It's being tracked in this issue: https://github.com/spring-projects/spring-boot/issues/5071

    0 讨论(0)
提交回复
热议问题