Yes, using a filter with ThreadLocals does work and I have implemented it. The integration functions more at the web application level then at the weld/container level but it is easy to implement and works.