I'm sure this is an easy one... I'm using Shiro 1.2.1 in a web context (integrating into Apache Isis [1]) with org.apache.shiro.web.env.EnvironmentLoaderListener and ShiroFilter.
I want my app/framework to pick up the SecurityManager and Subject from SecurityUtils, by way of the ThreadContext. Is there a way to have ShiroFilter populate the ThreadContext? At the moment, I'm writing my own filter that grabs the WebEnvironment and then calls ThreadContext.bind(...). Feels a bit overkill to do this, though. Many thanks! Dan committer, Apache Isis [1] http://isis.apache.org
