You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by lh...@apache.org on 2011/06/27 06:44:58 UTC
svn commit: r1140014 -
/shiro/trunk/core/src/main/java/org/apache/shiro/subject/support/DelegatingSubject.java
Author: lhazlewood
Date: Mon Jun 27 04:44:57 2011
New Revision: 1140014
URL: http://svn.apache.org/viewvc?rev=1140014&view=rev
Log:
Finally! Able to remove direct call to ThreadContext as Thread state management is no longer directly coupled to Subject implementations.
Modified:
shiro/trunk/core/src/main/java/org/apache/shiro/subject/support/DelegatingSubject.java
Modified: shiro/trunk/core/src/main/java/org/apache/shiro/subject/support/DelegatingSubject.java
URL: http://svn.apache.org/viewvc/shiro/trunk/core/src/main/java/org/apache/shiro/subject/support/DelegatingSubject.java?rev=1140014&r1=1140013&r2=1140014&view=diff
==============================================================================
--- shiro/trunk/core/src/main/java/org/apache/shiro/subject/support/DelegatingSubject.java (original)
+++ shiro/trunk/core/src/main/java/org/apache/shiro/subject/support/DelegatingSubject.java Mon Jun 27 04:44:57 2011
@@ -35,7 +35,6 @@ import org.apache.shiro.subject.Principa
import org.apache.shiro.subject.Subject;
import org.apache.shiro.util.CollectionUtils;
import org.apache.shiro.util.StringUtils;
-import org.apache.shiro.util.ThreadContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -281,7 +280,6 @@ public class DelegatingSubject implement
} else {
this.session = null;
}
- ThreadContext.bind(this);
}
public boolean isAuthenticated() {