I´m using Spring @Async
for make an asynchronous request, but problem is that in order to do that request I need "authentication" of Spring security in my SecurityContextHolder
.
In order to make it works what do you think is the best option to copy the session from one thread to other.