You need to put a Cayenne DataContext Filter in front of the SpringSecurity filter.
regards On Wed, May 23, 2012 at 3:36 PM, Tony Giaccone <t...@giaccone.org> wrote: > > > I'm trying to implement a Spring Security Authentication using Cayenne. > > The problem is that when the spring security gets called, there's no > context associated with the thread. So this method: > > BaseContext.getThreadObjectContext(); > > Throws an exception. I'm just not sure at this point how to set up the > context and start the process of doing fetches. > > > Tony