SHIRO-317: updated SessionManager first-level cache concept to use a private ThreadLocal instead of the ThreadContext.  The ThreadContext is cleared during subject.execute() which is undesirable when caching has been enabled during subject construction (Subject.Builder invocation).

git-svn-id: https://svn.apache.org/repos/asf/shiro/branches/SHIRO-317@1335828 13f79535-47bb-0310-9956-ffa450edef68
5 files changed