How to get fetch empresaUser with Lazy, the current logged in user object from spring security?

后端 未结 0 1922
北恋
北恋 2021-01-07 04:58

i use SecurityContextHolder.getContext().getAuthentication().getPrinciple()

How do I FETCH 2-level attributes on my user the moment I use it in spring? I can\'t use f

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