KEYCLOAK-1547 Need to use overridable removeUserSession() method.

This commit is contained in:
Stan Silvert 2015-07-09 14:46:54 -04:00
parent f3aeb5ec9f
commit 48f78cf80a

View file

@ -236,7 +236,7 @@ public class InfinispanUserSessionProvider implements UserSessionProvider {
.execute(); .execute();
for (String id : sessions.keySet()) { for (String id : sessions.keySet()) {
removeUserSession(realm, id); removeUserSession(realm, getUserSession(realm, id));
} }
} }
@ -252,7 +252,7 @@ public class InfinispanUserSessionProvider implements UserSessionProvider {
.execute(); .execute();
for (String id : map.keySet()) { for (String id : map.keySet()) {
removeUserSession(realm, id); removeUserSession(realm, getUserSession(realm, id));
} }
map = new MapReduceTask(sessionCache) map = new MapReduceTask(sessionCache)