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/07/22 20:02:03 UTC

svn commit: r1149670 - /shiro/trunk/web/src/main/java/org/apache/shiro/web/session/mgt/ServletContainerSessionManager.java

Author: lhazlewood
Date: Fri Jul 22 18:02:02 2011
New Revision: 1149670

URL: http://svn.apache.org/viewvc?rev=1149670&view=rev
Log:
minor JavaDoc fix

Modified:
    shiro/trunk/web/src/main/java/org/apache/shiro/web/session/mgt/ServletContainerSessionManager.java

Modified: shiro/trunk/web/src/main/java/org/apache/shiro/web/session/mgt/ServletContainerSessionManager.java
URL: http://svn.apache.org/viewvc/shiro/trunk/web/src/main/java/org/apache/shiro/web/session/mgt/ServletContainerSessionManager.java?rev=1149670&r1=1149669&r2=1149670&view=diff
==============================================================================
--- shiro/trunk/web/src/main/java/org/apache/shiro/web/session/mgt/ServletContainerSessionManager.java (original)
+++ shiro/trunk/web/src/main/java/org/apache/shiro/web/session/mgt/ServletContainerSessionManager.java Fri Jul 22 18:02:02 2011
@@ -21,9 +21,9 @@ package org.apache.shiro.web.session.mgt
 import org.apache.shiro.authz.AuthorizationException;
 import org.apache.shiro.session.Session;
 import org.apache.shiro.session.SessionException;
-import org.apache.shiro.session.mgt.AbstractSessionManager;
 import org.apache.shiro.session.mgt.SessionContext;
 import org.apache.shiro.session.mgt.SessionKey;
+import org.apache.shiro.session.mgt.SessionManager;
 import org.apache.shiro.web.session.HttpServletSession;
 import org.apache.shiro.web.util.WebUtils;
 
@@ -38,20 +38,21 @@ import javax.servlet.http.HttpSession;
  * <p/>
  * Despite its name, this implementation <em>does not</em> itself manage Sessions since the Servlet container
  * provides the actual management support.  This class mainly exists to 'impersonate' a regular Shiro
- * <tt>SessionManager</tt> so it can be pluggable into a normal Shiro configuration in a pure web application.
+ * {@code SessionManager} so it can be pluggable into a normal Shiro configuration in a pure web application.
  * <p/>
  * Note that because this implementation relies on the {@link HttpSession HttpSession}, it is only functional in a
- * servlet container.  I.e. it is <em>NOT</em> capable of supporting Sessions for any clients other than
- * {@code HttpRequest/HttpResponse} based clients.
+ * servlet container - it is not capable of supporting Sessions for any clients other than those using the HTTP
+ * protocol.
  * <p/>
- * Therefore, if you need {@code Session} access from heterogeneous clients (e.g. web pages,
- * Java Web Start applications, etc.), use the {@link DefaultWebSessionManager DefaultWebSessionManager}
+ * Therefore, if you need {@code Session} support for heterogeneous clients (e.g. web browsers,
+ * RMI clients, etc), use the {@link DefaultWebSessionManager DefaultWebSessionManager}
  * instead.  The {@code DefaultWebSessionManager} supports both traditional web-based access as well as non web-based
  * clients.
  *
  * @since 0.9
+ * @see DefaultWebSessionManager
  */
-public class ServletContainerSessionManager extends AbstractSessionManager {
+public class ServletContainerSessionManager implements SessionManager {
 
     //TODO - complete JavaDoc