mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-02-23 15:20:19 +00:00
Added faq on missing session listener
This commit is contained in:
parent
ff13df03ac
commit
22a64c1555
@ -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>.
|
||||
</answer>
|
||||
</faq>
|
||||
<faq id="session-listener-missing">
|
||||
<question>
|
||||
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.
|
||||
</question>
|
||||
<answer>
|
||||
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.
|
||||
<pre>
|
||||
<listener>
|
||||
<listener-classorg.springframework.security.ui.session.HttpSessionEventPublisher</listener-class>
|
||||
</listener>
|
||||
</pre>
|
||||
</answer>
|
||||
</faq>
|
||||
</part>
|
||||
<part id="how-tos">
|
||||
<title>Common "How To" Requests</title>
|
||||
|
Loading…
x
Reference in New Issue
Block a user