I posted the following question to the Sitemesh list. Thought I would see if anyone here also had any experience getting Acegi and Sitemesh to play nice together.
----------------------------- Hello all, I am working on an project that is using Sitemesh for decorating pages. I am also using the Acegi Security System for Spring. What's really odd is, as long as the Sitemesh filter is in the chain, for some reason, everything goes through my Filter Chain twice. And when this happens, the first request does the Acegi stuff correctly, storing the Authentication object it uses into the Session and removing it from the current SecureContext (again, one of it's objects). But, seemingly in the same Filter chain, this gets run again, and since the Authentication object has been removed from the SecureContext, Acegi ends up putting null into the session for the Authentication object and now my authentication is lost. This means for every page reqeust in a secured area, the user is sent back to the login page. Once I take Sitemesh out of the filter chain, everything works as expected? Any thoughts? Anything more I need to add to help figure this out? Thanks, Patrick ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Acegisecurity-developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer