From 22a64c1555b1d1d56b5b2f9103801b85b584dbee Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Wed, 6 Aug 2008 11:03:53 +0000 Subject: [PATCH] Added faq on missing session listener --- src/site/fml/faq.fml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/site/fml/faq.fml b/src/site/fml/faq.fml index 8adf781935..a7117a562a 100644 --- a/src/site/fml/faq.fml +++ b/src/site/fml/faq.fml @@ -169,6 +169,20 @@ org.springframework.security.AccessDeniedException: Access is denied then you have to configure these explicitly in your web.xml using the <dispatcher> element, a child element of <filter-mapping>. + + + I'm trying to use the concurrent session-control support but it won't let me log back in, even if I'm sure I've logged out and haven't exceeded the allowed sessions. + + + Make sure you have added the listener to your web.xml file. It is essential to make sure that the Spring Security session registry is + notified when a session is destroyed. Without it, the session information will not be removed from the registry. +
+  <listener>
+    <listener-classorg.springframework.security.ui.session.HttpSessionEventPublisher</listener-class>
+  </listener>    				
+    			
+
+
Common "How To" Requests