db.init("policyDatabase", dbName, jdbcUser, jdbcPassword, null);
DBUpgrader upgrader = new DBUpgrader(ContextHolder.getContext()
.getVersion(), db, ContextHolder.getContext().getDBDirectory(),
upgradeDir);
upgrader.upgrade();
policyCache = new SimpleCache(new MemoryStash(CACHE_MAXOBJS.intValue()));
CoreServlet.getServlet().addCoreListener(new CoreListener() {
public void coreEvent(CoreEvent evt) {
if (evt.getId() == CoreEventConstants.USER_CREATED
|| evt.getId() == CoreEventConstants.USER_EDITED
|| evt.getId() == CoreEventConstants.USER_REMOVED