Mark,
Would setting up the SecurityContextHolder to transcend all threads, or just spawned threads, be a viable solution?
According to the documentation, you can configure the SecurityContextHolder to behave differently from the default (which uses ThreadLocal to store the SecurityContext, as this forum discussion assumes). Options include SecurityContextHolder.MODE_INHERITABLETHREADLOCAL which would propogate the security context to spawned threads. See this link for more details: http://static.springsource.org/sprin...w.html#d0e1543


Reply With Quote
