ulrich
2017-02-20 8bc8d50a05c2998565690fdbc349fe9254defe41
Die dem ServletContext hinzugefugten Attribute werden im Initialiser nun auch wieder entfernt
1 files modified
6 ■■■■■ changed files
src/java/de/uhilger/um/web/Initialiser.java 6 ●●●●● patch | view | raw | blame | history
src/java/de/uhilger/um/web/Initialiser.java
@@ -201,6 +201,12 @@
  @Override
  public void contextDestroyed(ServletContextEvent sce) {
    // destroy whatever 
    ServletContext ctx = sce.getServletContext();
    ctx.removeAttribute(UserMgr.MP_USER);
    ctx.removeAttribute(UserMgr.MP_USER_DATA);
    ctx.removeAttribute(UserMgr.MP_USER_ROLE);
    ctx.removeAttribute(UserMgr.UM_SQL_PROPERTIES);
    ctx.removeAttribute(UserMgr.UM_DB);
  }
  
}