shiro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lhazlew...@apache.org
Subject svn commit: r807306 - in /incubator/shiro/trunk/core/src/main/java/org/apache/shiro/mgt: DefaultSecurityManager.java SessionSubjectBinder.java
Date Mon, 24 Aug 2009 17:01:22 GMT
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



Mime
View raw message