Merge pull request #907 from mposolda/master

KEYCLOAK-929 Don't remove principal on session passivation
This commit is contained in:
Marek Posolda 2015-01-06 19:57:32 +01:00
commit f4c06b7cd0

View file

@ -62,8 +62,7 @@ public class CatalinaUserSessionManagement implements SessionListener {
public void sessionEvent(SessionEvent event) {
// We only care about session destroyed events
if (!Session.SESSION_DESTROYED_EVENT.equals(event.getType())
&& (!Session.SESSION_PASSIVATED_EVENT.equals(event.getType())))
if (!Session.SESSION_DESTROYED_EVENT.equals(event.getType()))
return;
// Look up the single session id associated with this session (if any)