KEYCLOAK-929 Don't remove principal on session passivation

This commit is contained in:
mposolda 2015-01-06 19:43:40 +01:00
parent 6aa0cb5e3d
commit c7b0c4fb05

View file

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