Spring Security 2.0.3
In my application's service layer I have a service that starts a new Task by calling ThreadPoolTaskExecutor's execute() method.
Our Task implements Runnable.
The task itselfs runs now in an own thread with a separate Hibernate transaction and loads ACL secured objects from the database.
The problem is, that the Authentication object is not available in the new thread.
How can I gain access to the authentication object from in the thread? Any ideas?
Thanks in advance.