Change to make removeUserSession() a protected method.

This commit is contained in:
Stan Silvert 2015-07-13 11:21:35 -04:00
parent 48f78cf80a
commit af8949c291

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, getUserSession(realm, id)); removeUserSession(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, getUserSession(realm, id)); removeUserSession(realm, id);
} }
map = new MapReduceTask(sessionCache) map = new MapReduceTask(sessionCache)
@ -361,7 +361,7 @@ public class InfinispanUserSessionProvider implements UserSessionProvider {
} }
} }
void removeUserSession(RealmModel realm, String userSessionId) { protected void removeUserSession(RealmModel realm, String userSessionId) {
tx.remove(sessionCache, userSessionId); tx.remove(sessionCache, userSessionId);
Map<String, String> map = new MapReduceTask(sessionCache) Map<String, String> map = new MapReduceTask(sessionCache)