if (resolver != null) {
getManager().release(resolver);
}
}
CacheMap cache = getCache();
synchronized (cache) {
controller = (AccessController) cache.get(key);
if (controller == null) {
getLogger().debug("No access controller in cache.");
controller = doResolveAccessController(webappUrl);
cache.put(key, controller);
} else {
getLogger().debug("Getting access controller from cache.");
}
}