Is there a way to get the information of the main thread (the application thread) from a second thread?
My problem is that I have to set the currentprincipal in the main thread, but the authentication is done in another thread because it's a long and complex task, but when I set the currentPrincipal in the second thread, the main thread does not have the information.
Thanks for any help.