浏览代码

Updated doc on invalid session detection.

Invalid session URL must typically be omitted from the filter chain to prevent an infinite loop.
Luke Taylor 15 年之前
父节点
当前提交
a5dde8b28f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      samples/tutorial/src/main/webapp/WEB-INF/applicationContext-security.xml

+ 1 - 1
samples/tutorial/src/main/webapp/WEB-INF/applicationContext-security.xml

@@ -33,7 +33,7 @@
         <x509 />
 -->
         <!-- Uncomment to limit the number of sessions a user can have -->
-        <session-management>
+        <session-management invalid-session-url="/something">
             <concurrency-control max-sessions="1" error-if-maximum-exceeded="true" />
         </session-management>