shiro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lhazlew...@apache.org
Subject svn commit: r1140014 - /shiro/trunk/core/src/main/java/org/apache/shiro/subject/support/DelegatingSubject.java
Date Mon, 27 Jun 2011 04:44:58 GMT
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() {



Mime
View raw message