1

I couldn't find an answer for that. I'm aware that I can get SecurityContext for currently logged user with

SecurityContextHolder.getContext()

but I would like to get that context for not curretnly logged one. Not sure what more information I can provide to this question: I have access to his Authentication and principals that I have setted before. I probably can get more information that I would need for that.

lukaszrys
  • 1,656
  • 4
  • 19
  • 33

0 Answers0