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 2009/08/24 19:01:22 UTC

svn commit: r807306 - in /incubator/shiro/trunk/core/src/main/java/org/apache/shiro/mgt: DefaultSecurityManager.java SessionSubjectBinder.java

Author: lhazlewood
Date: Mon Aug 24 17:01:22 2009
New Revision: 807306

URL: http://svn.apache.org/viewvc?rev=807306&view=rev
Log:
removed ThreadContext references in comments where unnecessary

Modified:
    incubator/shiro/trunk/core/src/main/java/org/apache/shiro/mgt/DefaultSecurityManager.java
    incubator/shiro/trunk/core/src/main/java/org/apache/shiro/mgt/SessionSubjectBinder.java

Modified: incubator/shiro/trunk/core/src/main/java/org/apache/shiro/mgt/DefaultSecurityManager.java
URL: http://svn.apache.org/viewvc/incubator/shiro/trunk/core/src/main/java/org/apache/shiro/mgt/DefaultSecurityManager.java?rev=807306&r1=807305&r2=807306&view=diff
==============================================================================
--- incubator/shiro/trunk/core/src/main/java/org/apache/shiro/mgt/DefaultSecurityManager.java (original)
+++ incubator/shiro/trunk/core/src/main/java/org/apache/shiro/mgt/DefaultSecurityManager.java Mon Aug 24 17:01:22 2009
@@ -277,8 +277,7 @@
     /**
      * Binds a {@code Subject} instance created after authentication to the application for later use.
      * <p/>
-     * The default implementation merely binds the argument to the thread local via the {@link ThreadContext}
-     * and overridden by subclasses for environment-specific binding (e.g. standalone application).
+     * The default implementation simply delegates to the internal {@link #getSubjectBinder() subjectBinder}.
      *
      * @param subject the {@code Subject} instance created after authentication to be bound to the application
      *                for later use.

Modified: incubator/shiro/trunk/core/src/main/java/org/apache/shiro/mgt/SessionSubjectBinder.java
URL: http://svn.apache.org/viewvc/incubator/shiro/trunk/core/src/main/java/org/apache/shiro/mgt/SessionSubjectBinder.java?rev=807306&r1=807305&r2=807306&view=diff
==============================================================================
--- incubator/shiro/trunk/core/src/main/java/org/apache/shiro/mgt/SessionSubjectBinder.java (original)
+++ incubator/shiro/trunk/core/src/main/java/org/apache/shiro/mgt/SessionSubjectBinder.java Mon Aug 24 17:01:22 2009
@@ -24,8 +24,8 @@
 
 
 /**
- * Binds the Subject's state to the accessible {@link Session Session} in addition to the
- * {@link org.apache.shiro.util.ThreadContext ThreadContext}
+ * Binds the Subject's state to the accessible {@link Session Session} in addition to the binding logic in the parent
+ * class.
  * <p/>
  * The very notion of this class's existence might sound backwards:  typically a {@link Session Session} is something
  * that is created <em>after</em> a {@link Subject Subject} is acquired - for example by calling