NPE in as7 adapter logout

This commit is contained in:
Bill Burke 2014-06-02 12:02:42 -04:00
parent bb11165568
commit dfcd3267e4
2 changed files with 2 additions and 0 deletions

View file

@ -73,6 +73,7 @@ public class CatalinaUserSessionManagement implements SessionListener, UserSessi
keycloakSessionMap.put(keycloakSessionId, sessions); keycloakSessionMap.put(keycloakSessionId, sessions);
sessions.httpSessionToKeycloakSession.put(sessionId, keycloakSessionId); sessions.httpSessionToKeycloakSession.put(sessionId, keycloakSessionId);
sessions.keycloakSessionToHttpSession.put(keycloakSessionId, sessionId); sessions.keycloakSessionToHttpSession.put(keycloakSessionId, sessionId);
sessions.sessions.put(sessionId, session);
session.addSessionListener(this); session.addSessionListener(this);
} }

View file

@ -73,6 +73,7 @@ public class CatalinaUserSessionManagement implements SessionListener, UserSessi
keycloakSessionMap.put(keycloakSessionId, sessions); keycloakSessionMap.put(keycloakSessionId, sessions);
sessions.httpSessionToKeycloakSession.put(sessionId, keycloakSessionId); sessions.httpSessionToKeycloakSession.put(sessionId, keycloakSessionId);
sessions.keycloakSessionToHttpSession.put(keycloakSessionId, sessionId); sessions.keycloakSessionToHttpSession.put(keycloakSessionId, sessionId);
sessions.sessions.put(sessionId, session);
session.addSessionListener(this); session.addSessionListener(this);
} }