KEYCLOAK-2278

NoSuchMethodError org.infinispan.Cache.entrySet() in EAP6 server overlay
This commit is contained in:
Stian Thorgersen 2016-01-11 10:06:45 +01:00
parent a6c852603e
commit bc14cade62

View file

@ -81,11 +81,8 @@ public class InfinispanUserCache implements UserCache {
@Override
public void invalidateRealmUsers(String realmId) {
logger.tracev("Invalidating users for realm {0}", realmId);
for (Map.Entry<String, CachedUser> u : cache.entrySet()) {
if (u.getValue().getRealm().equals(realmId)) {
cache.remove(u.getKey());
}
}
cache.clear();
}
@Override