I'm working on a project that we're trying to make multi-tenant and rather than pass additional parameters through all of dao requests I was wondering if perhaps using AOP might provide a more elegant solution. I need to get a tenant id from an http session through to the hibernate criteria in my dao implementation. Is this possible? How would one go about this? Any existing similar examples to pull from?